Automatic data integration for performance measurement of multiple separate digital transmissions with continuous optimization

ABSTRACT

In one embodiment, a method includes obtaining, from a demand-side platform (DSP), impression data specifying service providers and consumer tokens representing consumers who have received digital impressions of a set of advertising campaigns. A set of tokenized claims data records related to a prescription of a product is then received from a database server. A result set of integrated measurement records specifying measured campaigns linking the tokenized claims data records with impression data associated with consumer tokens and/or service provider identifiers is further received from the database server. Aggregated analytics reports based on the integrated measurement records are generated and presented. A machine learning model may be trained using a training dataset comprising features selected from the impression data and tokenized claims data records, to predict bid values or other parameters for use in updating, optimizing or modifying operation of the DSP for the original campaign or for other campaigns.

BENEFIT CLAIM

This application claims the benefit under 35 U.S.C. 120 as acontinuation of application Ser. No. 17,182,200, filed Feb. 22, 2021,the entire contents of which are hereby incorporated by reference as iffully set forth herein. Applicant hereby rescinds any disclaimer ofclaim scope in the application(s) of which the benefit is claimed andadvises the USPTO that the present claims may be broader than anyapplication(s) of which the benefit is claimed.

TECHNICAL FIELD

One technical field of the disclosure is computer implementeddemand-side platform (DSP) systems, which are used in digitaladvertising technology. Another technical field is relational databasesand specifically the use under stored program control of automatic joinsof tables that store different datasets.

BACKGROUND

The approaches described in this section are approaches that could bepursued, but not necessarily approaches that have been previouslyconceived or pursued. Therefore, unless otherwise indicated, it shouldnot be assumed that any of the approaches described in this sectionqualify as prior art merely by virtue of their inclusion in thissection.

Digital advertising technology (ad tech) uses distributed computersystems under stored program control to determine what media or contentsuser computers are accessing, as well as what digital advertising unitsto select, transmit, or place in media, content, or other locations. Adtech systems have developed sophisticated means for real-time bidding onthe placement of electronic ad units within websites, mobile devicefeeds, and other applications. However, present ad tech systems stillsuffer from many limitations.

Many advertising agencies, pharmaceutical companies, medical equipmentcompanies, insurance companies, and other healthcare related firms wishto enhance advertising impressions of healthcare products and servicesto applicable healthcare providers (HCPs) and consumers. Impressiondeployment may entail demand side platform (DSP) systems for targeteddistribution of product information. Determining the appropriate onlineHCP identities and targetable consumers and where to deliver informationregarding specific products and services may be challenging given themyriad types of medical conditions, HCPs and their practice histories,requirements for patient privacy under the Health Insurance Portabilityand Accountability Act (HIPAA), and the multitude of different productsin the healthcare industry. Clinical medical data, prescribing behaviordata, National Provider Identifier (NPI) data, demographic data,certification, appointment scheduling, payment data, and otherinformation relating to an NPI is not generally accessible to agenciesand advertisers for use in determining which HCPs would be the best fitfor distributing information pertaining to particular products, orinformation pertaining to an NPI may not be fully comprehensive, or notcoordinated with other data, and therefore limited in their utility.Thus, DSP systems often distribute product information to HCPs whosepatients would not benefit from such distribution and/or omitdistribution to many HCPs whose patients would benefit.

Data sellers often may sell data defining audience segments into a DSP.These approaches usually allow for only minimal customization of theaudience to be targeted or cause significant delay in a customizationthat greatly reduces the relevance and rely on buckets or segments ofcookie or device data that have been manually tagged to indicate aparticular audience characteristic. Other data providers offer data viaplatforms which provide counts and aggregations for how many users withvarious attributes are recorded in a database of HCPs; these platformsdo not have a DSP and thus require an intermediary to transfer audiencedata to a DSP. The lack of integration in this approach precludesproviding HCP-specific reporting of engagement with advertisements inreal-time. Furthermore, existing systems may use individual data storesbased on browser cookie limitations and provide no sound way to unifydigital identity data with third-party data to enable more real-timecustomization and relevancy of the advertisement.

Furthermore, existing technology provides no effective means to measurethe effect of healthcare advertisements on patient results and providerbehavior change as there is no effective means to digitally combine orjoin ad serving data with healthcare data (real-world evidence) andthen, on an ongoing basis, customize and optimize the messaging based oncampaign measurements of promotional response and/or near real-timeclinical events. There are also no effective ways to measure theinteractions between consumers and service providers and how certainadvertisements lead to improved health results, including minimalability to link offline behavior change to online campaign impressiondata. Integration of campaigns directed at HCPs and patients isimpractical or does not exist. Even if this data could be determined,there is no practical or effective way to optimize DSPs or bids based oncampaign measurements to account for the results.

SUMMARY OF PARTICULAR EMBODIMENTS

The appended claims may serve as a summary of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts an example system for secure training and distribution ofa machine learning system using protected data.

FIG. 2 depicts an example message diagram by which protected informationis securely used to generate and train a machine learning system.

FIG. 3 depicts an example method for building and validating a machinelearning system in a protected environment.

FIG. 4 depicts an example method for utilizing a secure environment tobuild and validate machine learning systems.

FIG. 5 is a block diagram that illustrates a computer system upon whichan embodiment may be implemented.

FIG. 6A illustrates an example distributed computer system with whichcertain embodiments may be implemented.

FIG. 6B illustrates the system of FIG. 6A with certain optimizationelements.

FIG. 7A illustrates an example measurement and management process for agiven campaign.

FIG. 7B illustrates an example measurement and management process for agiven campaign.

FIG. 7C illustrates example functional elements and data flows in anembodiment of DSP optimization.

FIG. 8 illustrates an example data flow in for a given campaign.

FIG. 9 illustrates an example GUI for presenting an analytics report ofa measured campaign.

FIG. 10 illustrates an example artificial neural network.

DESCRIPTION OF EXAMPLE EMBODIMENTS

Example embodiments are described below in sections according to thisoutline:

1. GENERAL OVERVIEW

2. DIRECT-TO-CONSUMER MODELING

-   -   2.1 STRUCTURAL EXAMPLE    -   2.2 PROCESS OVERVIEW    -   2.3 PROTECTED ENVIRONMENT IMPLEMENTATION    -   2.4 MEDIA SERVER IMPLEMENTATION    -   2.5 MODELING IMPLEMENTATION    -   2.6 BENEFITS OF CERTAIN EMBODIMENTS

3. CAMPAIGN PERFORMANCE MEASUREMENT AND OPTIMIZATION

4. IMPLEMENTATION EXAMPLES

-   -   4.1 HARDWARE OVERVIEW    -   4.2 ARTIFICIAL NEURAL NETWORKS

5. EXTENSIONS AND ALTERNATIVES

The embodiments disclosed herein are only examples, and the scope ofthis disclosure is not limited to them. Particular embodiments mayinclude all, some, or none of the components, elements, features,functions, operations, or steps of the embodiments disclosed herein.Embodiments according to the invention are in particular disclosed inthe attached claims directed to a method, a storage medium, a system anda computer program product, wherein any feature mentioned in one claimcategory, e.g. method, may be claimed in another claim category, e.g.system, as well. The dependencies or references back in the attachedclaims are chosen for formal reasons only. However, any subject matterresulting from a deliberate reference back to any previous claims (inparticular multiple dependencies) may be claimed as well, so that anycombination of claims and the features thereof are disclosed and may beclaimed regardless of the dependencies chosen in the attached claims.The subject matter which may be claimed comprises not only thecombinations of features as set out in the attached claims but also anyother combination of features in the claims, wherein each featurementioned in the claims may be combined with any other feature orcombination of other features in the claims. Furthermore, any of theembodiments and features described or depicted herein may be claimed ina separate claim and/or in any combination with any embodiment orfeature described or depicted herein or with any of the features of theattached claims.

1. General Overview

Computer systems used in healthcare marketing historically have reliedon multiple different technologies to measure and optimize transmissionof digital data including advertisements. Healthcare data is subject tolatency and security considerations. Therefore, any existing commonsolutions for measuring effectiveness of online healthcare advertisingcampaigns have been disjointed and not integrated into a single mediaplatform. Some measurement systems have long data refresh delays,questionable accuracy, insufficient transparency, and operateindependently of the media platform. Additionally, changes to browsercross-domain tracking policies have introduced increasing challenges forthird-party measurement solutions to measure campaigns. Consequently,healthcare marketers struggle to make real-time optimizations to theironline campaigns based on offline health results data.

Furthermore, measuring the joint and mutual effect of integratedcampaigns directed to service providers and directed to consumers hasnot been possible. An integrated campaign involves deliberatecoordination of the delivery of advertisements to service providers andconsumers with similar messaging. “Service provider,” in one embodiment,may refer to a healthcare provider (“HCP”), and “consumer,” in the sameembodiment, may refer to a patient; however, other embodiments may beimplemented with service providers in fields other than healthcare andwith consumers other than patients, but also having privacy concerns.Integrated campaigns are valued in industry because they improve thecommon understanding of consumers and providers before an encounter suchas an office visit. Evidence suggests that if a consumer and providerhave received the same message concerning the safety of a drug or theefficacy of a drug, then more conversions will occur. A conversion, inthis context, may comprise writing a prescription. Embodiments of thepresent disclosure provide the first distributed computer system orplatform that is programmed to plan, activate, and measure integratedcampaigns within a DSP, so that brands can run, measure, and optimizethese campaigns all within a single platform. “DSP,” in this context,refers to a demand-side platform or to an ad server computer, and allexamples in this disclosure referring to “DSP” can be implemented usingan ad server that does not act as a DSP, for example by publishers whoserve ads but do not use DSPs.

Embodiments are structured to use medical claims data, which representsaccurate accounting of healthcare activity, in compliance with legalregimes such as HIPAA that prevent the direct disclosure and use ofpersonal health information for marketing uses. In embodiments, certaindata is de-identified to protect privacy while allowing legal use forboth advertising targeting and the measurement of campaigneffectiveness.

In particular embodiments, ad serving data may be combined withhealthcare data to measure the effect of healthcare advertisements onpatient results and HCP behavior change. This combined data may furtherbe used to measure interactions between the consumers and serviceproviders who received those advertisements, and to quantify how certainad campaigns lead to improved health results. A DSP thus offers theability to plan, activate, and measure healthcare campaigns that delivertimely information to consumers and their service providers to help themmake more informed decisions about their health. Measured results maythen be used to adjust and optimize various parameters of particular adcampaigns in order to achieve a further desired result, thus enablingcontrol, customization, and delivery of integrated campaigns for serviceproviders and consumers.

In particular embodiments, a method includes, by a measurement servercomputer, obtaining, from a DSP, impression data specifying a firstplurality of de-identified consumer tokens representing consumers whohave received digital impressions of a first set of campaigns that areassociated with a first set of one or more healthcare attributes.Impression data specifying a second plurality of HCP identifiersrepresenting HCPs who have received digital impressions of the first setof campaigns that are associated with the first set of healthcareattributes is further obtained from the DSP. The first set of campaignsmay be from among a plurality of different campaigns executed by theDSP. A set of de-identified tokenized claims data records is thenreceived, based on analytics instructions executing in a databaseserver; each data record may relate to at least one claim concerning aprescription of a specified product, and execution of these instructionsmay occur in a secure environment with data privacy safeguards. Themethod further includes receiving, from the database server, a resultset of one or more integrated measurement records specifying one or moremeasured campaigns among the plurality of different campaigns. The oneor more measured campaigns may be associated with the prescription ofthe specified product in at least one claims data record that isassociated with at least one of the consumer tokens and/or at least oneof the HCP identifiers. Finally, the method includes generating andcausing presenting one or more analytics reports based on the integratedmeasurement records.

Certain technical challenges exist for running, measuring, andoptimizing ad campaigns, such as those run by pharmaceutical companies.As one example, healthcare marketers often must rely on severaldifferent pieces of technology to run their digital ad campaigns.However, given the latency in healthcare data and the uniqueness of thechallenges around managing consumer data, any solutions for measuringthe effectiveness of a healthcare campaign are often disjointed and notfully integrated into a single media buying platform. Conventionalmeasurement products may have long data refresh delays, questionableaccuracy, and insufficient transparency, and they often operateindependently of the media buying platform being used. Furthermore,another technical challenge exists in the lack of a platform thatmeasures the joint and mutual effect of integrated campaigns for serviceproviders and consumers. Yet another technical challenge lies in thefact that browser cross-domain tracking policies often introducechallenges for third-party measurement solutions seeking to measure thecampaigns. Due to these limitations, healthcare marketers may struggleto make real-time optimizations to their campaigns based on offlinehealth results data.

Certain embodiments disclosed herein may provide one or more solutionsto address these challenges, as well as various technical advantages. Asan example, the disclosed DSP may provide an integrated platform thatenables the deliberate coordination of campaigns to target and deliveradvertisements to select, relevant healthcare providers and consumerswith similar messaging at appropriate times. For instance, the DSP mayenable the delivery of key discussion points to an HCP and a patientprior to a clinical visit or interaction between the two that emphasizethe efficacy of a particular drug. Such integrated campaigns may allowpatients and providers to be ‘synched’ with relevant messagingconcerning the particular drug ahead of their encounter/office visit. Ifa patient and HCP are both prepared to discuss the same message ahead ofthis interaction (such as the safety of the drug, its efficacy, etc.),this may result in a higher number of conversions among the patients.

This unified approach results in various technical advantages. As anexample, one technical advantage of the embodiments may include theability to run, manage, and measure integrated campaigns within asingle, unified platform. Another technical advantage of the embodimentsmay include enabling entities to receive data representing interactionsbetween qualified patients and HCPs and assess how influential theirmarketing campaigns are in driving conversions or changing patientbehavior. Yet another technical advantage of the embodiments may includeproviding automated campaign optimization in response to this data inorder to increase efficiency and targeting for future campaigns. Certainembodiments disclosed herein may provide none, some, or all of the abovetechnical advantages. One or more other technical advantages may bereadily apparent to one skilled in the art in view of the figures,descriptions, and claims of the present disclosure.

2. Direct-to-Consumer Modeling

2.1 Structural Example

FIG. 1 depicts an example system for secure training and distribution ofa machine learning system using protected data. Server computer 110,claims processor 130, attribute database 140, media server 150, andclient computing device 160 are communicative coupled over one or morenetworks. The network(s) broadly represent any combination of one ormore data communication networks including local area networks, widearea networks, internetworks or internets, using any of wireline orwireless links, including terrestrial or satellite links. The network(s)may be implemented by any medium or mechanism that provides for theexchange of data between the various elements of FIG. 1. The variouselements of FIG. 1 may also have direct (wired or wireless)communications links. The server computer 110, claims processor 130,attribute database 140, media server 150, client computing device 160,and other elements of the system each comprise an interface compatiblewith the network(s) and are programmed or configured to use standardizedprotocols for communication across the networks such as TCP/IP,Bluetooth, CAN protocol and higher-layer protocols such as HTTP, TLS,and the like.

Claims processor 130 comprises one or more computing systems configuredto receive and store claims data. Claims processor 130 stores claimsdata 132 and identifying information 134. Claims data 132 comprises dataidentifying one or more status values for a plurality of personal datarecords. For example, claims data may comprise medical claims recordsidentifying diagnosis codes, such as the International StatisticalClassification of Diseases and Related Health Problems (ICD) codes,codes for procedures such as Current Procedural Terminology (CPT) codes,codes associated with healthcare providers (HCPs), Healthcare CommonProcedure Coding System (HCPCS) codes, or J codes, or NDC codes forprescriptions. The status values may comprise existence or non-existenceof specific codes, such as an ICD-10 code for a diagnosis of Type IIdiabetes. The claims data 132 may be associated with identifyinginformation 134, such as names, addresses, birthdates, or otheridentifying information of a personal data record. Claims processor 130uses the identifying information 134 to generate encrypted tokens 136using the methods described herein. Claims processor 130 sends claimsdata 132 with encrypted tokens 136 to server computer 110. Additionallyor alternatively, claims processor 130 may send the claims data 132 andidentifying information 134 to a tokenization server which thengenerates the encrypted tokens 136 from the identifying informationusing the methods described herein and sends the encrypted tokens andclaims data to server computer 110.

Attribute database 140 comprises a data store, such as a relationaldatabase or other structured data storage, configured to store attributeinformation for a plurality of personal data records. Attribute database140 stores attribute data 142 and identifying information 144. Attributedata 142 may comprise individual values for a plurality of values. Forexample, attribute database 140 may store a plurality of rows, each ofthe plurality of rows corresponding to a different personal data record,and a plurality of columns, each of the plurality of columnscorresponding to a different attribute. Attributes may include personalinformation such as age, physical activity level, weight, hair color,and/or eye color, data relating to an online search history, such asexistence of particular search terms, websites visited, or otherinternet history, or data relating to one or more online accounts, suchas social network accounts or other memberships. The attribute data 142may be associated with identifying information 144 such as names,addresses, birthdates, or other identifying information of a personaldata record. Attribute database 140 uses identifying information 144 togenerate encrypted tokens 146 using the methods described herein.Attribute database 140 sends attribute data 142 with encrypted tokens146 to server computer 110. Additionally or alternatively, attributedatabase 140 may send the attribute data 142 and identifying information144 to a tokenization server which then generates the encrypted tokens146 from the identifying information using the methods described hereinand sends the encrypted tokens and attribute data to server computer110.

Server computer 110 comprises one or more computing devices configuredto generate and train one or more machine learning systems. Servercomputer 110 may be a physical server computer and/or a virtual serverinstance stored in a data center, such as through cloud computing.Server computer 110 may be configured to generate and train the machinelearning system within protected environment 112. Protected environment112 comprises a hardware or software environment which may include oneor more server computers, such as server computer 110, one or more localnetworks, a load balancer, and/or data storage. Protected environment112 is configured to protect data stored within the environment, such asthrough a firewall or other network security systems which restrictsaccess through a network, such as the internet, to the various systemsor devices within the protected environment. The protected environment112 may be configured to not release data from the environment that doesnot meet certain criteria, as described further herein. In this manner,the protected environment may be used as a barrier to protect specifictypes of information, such as confidential information or restricted-usedata, such as medical claims which are protected under HIPAA.

Server computer 110 stores de-identified attribute data 122 receivedfrom attribute database 140 and de-identified claims data 124 receivedfrom claims processor 130. The de-identified attribute data 122 andde-identified claims data 124 may comprise attributes and claimsrespectfully which are mapped to encrypted tokens but do not include anyidentifying information. Methods for generating the de-identified dataare described further herein. Server computer 110 uses the de-identifiedattribute data 122 and de-identified claims data 124 to createde-identified training data 114 which server computer 110 stores. Servercomputer 110 further stores training data validation instructions 115,machine learning generation and training instructions 116, and machinelearning validation instructions 118. De-identified training data 114may be stored as a plurality of rows of data, each row corresponding toa different personal data record. The plurality of rows of data mayinclude columns corresponding to different attributes of the personaldata records and columns corresponding to status values, such asdiagnosis codes, of the personal data records.

Training data validation instructions 115 comprise computer-readableinstructions which, when executed by one or more processors of servercomputer 110, cause server computer 110 to determine whether a trainingdataset satisfies one or more criteria and perform a responsive actiondepending on whether the training dataset satisfies the one or morecriteria. Machine learning generation and training instructions 116comprise computer-readable instructions which, when executed by one ormore processors of server computer 110, cause server computer 110 togenerate a machine learning system based on one or more instructions andto train the machine learning system using de-identified training data114. Machine learning validation instructions 118 comprisecomputer-readable instructions which, when executed by one or moreprocessors of server computer 110, cause server computer 110 todetermine whether a machine learning system satisfies one or morecriteria and perform a responsive action depending on whether thetraining dataset satisfies the one or more criteria.

Computer executable instructions described herein may be in machineexecutable code in the instruction set of a CPU and may have beencompiled based upon source code written in JAVA, C, C++, OBJECTIVE-C, orany other human-readable programming language or environment, alone orin combination with scripts in JAVASCRIPT, other scripting languages andother programming source text. In another embodiment, the programmedinstructions also may represent one or more files or projects of sourcecode that are digitally stored in a mass storage device such asnon-volatile RAM or disk storage, in the systems of FIG. 1 or a separaterepository system, which when compiled or interpreted cause generatingexecutable instructions which when executed cause the computer toperform the functions or operations that are described herein withreference to those instructions. In other words, the drawing figure mayrepresent the manner in which programmers or software developersorganize and arrange source code for later compilation into anexecutable, or interpretation into bytecode or the equivalent, forexecution by the server 110.

The server computer 110 uses machine learning generation and traininginstructions 116 and de-identified training data 114 to generate trainedmachine learning system 117. For example, the server computer 110 maygenerate a training dataset from the de-identified training data 114based on one or more instructions and use the training dataset to traina machine learning system generated by the server computer based on oneor more instructions. Server computer 110 sends the trained machinelearning system 117 to the media server 150.

Media server 150 comprises one or more computers configured to sendmedia to one or more client computing devices in response to a request.Media server 150 stores media items 152 and trained machine learningsystem 156 received from server computer 110. Media items 152 compriseone or more images, videos, or other media items that may be served to aclient computing device. Media server 150 is configured to communicatewith client computing device 160 to determine whether to send a mediaitem of media items 152 to client computing device 160. Media server 150determines whether to send a media item using client computing deviceattribute data 154 stored in media server 150.

Client computing device attribute data 154 comprises one or moreattributes corresponding to the client computing device 160, such asattributes relating to a personal data record corresponding to theclient computing device. Client computing device attribute data 154 maybe received from client computing device 160, attribute database 140,and/or one or more other attribute sources. For example, the mediaserver 150 may receive identifying information from client computingdevice 160 which the media server 150 sends to the attribute database140 with a request for attribute data relating to client computingdevice 160.

While FIG. 1 depicts a single instances of server computer 110,attribute database 140, claims processor 130, media server 150, andclient computing device 160 for the purpose of demonstrating a clearexample, in some embodiments, the systems and devices in FIG. 1 maycomprise a plurality of different systems or devices. For example,server computer 110 may comprise a plurality of server computers and/orexternal storage devices which store attribute data, claims data,training data, and/or any other data stored within protected environment112. As another example, server computer 110 may communicate with aplurality of media servers 150, each of which may communicate with aplurality of client computing devices 160.

2.2 Process Overview

FIG. 2 depicts an example message diagram by which protected informationis securely used to generate and use trained machine learning systems.FIG. 2 and other flow diagrams that are described herein may serve,alone or in combination with the descriptions of processes and functionsin prose herein, as algorithms, plans or directions that may be used toprogram a computer or logic to implement the functions that aredescribed. In other words, all the prose text herein, and all thedrawing figures, together are intended to provide disclosure ofalgorithms, plans or directions that are sufficient to permit a skilledperson to program a computer to perform the functions that are describedherein, in combination with the skill and knowledge of such a persongiven the level of skill that is appropriate for inventions anddisclosures of this type.

At step 202, claims processor 130 stores claims data. Claims data, asused herein, refers to status value data for one or more personal datarecords. Personal data records, as used herein, refer to a record of anindividual with one or more values relating to said individual. Thus, anindividual claims data record may identify a status of an individual aswell as identify the individual through identification information, suchas a name, birthdate, social security number, address, or otheridentifying information. The status of the individual may include amedical status, personal status, legal status, or any other data valuerelating to a status which may be stored in claims data records. Forexample, an individual claims data record may include a medicaldiagnosis from a medical professional. An example claims processor maycomprise an intermediary between medical professionals and insuranceagents, thus receiving medical records comprising protected data, suchas diagnoses or prescriptions, which are then routed to insuranceagents.

At step 204, claims processor 130 uses a tokenization scheme tode-identify the claims data. For example, the claims processor maycreate a data token by hashing specific pieces of identifyinginformation, such as first name, last name, zip code, and date of birth,using a particular hash function and encrypting the hashed information.The claims processor may then create de-identified claims datacomprising the data token and one or more status data values for thedata token. As a practical example, if a claims data record comprised afull name, zip code, date of birth, and medical diagnosis for a personaldata record, the claims processor 130 may generate the token using theidentifying information and store a de-identified data record comprisingthe token and the medical diagnosis. As the token is generated fromidentifying information for a personal data record, the token is uniquefor each personal data record. While the disclosure describes a datatoken generated through hashing of identifying information andencryption of the hashed information, any identifying algorithmic schemefor generating a unique data token from identifying information may beused.

At step 206, claims processor 130 sends de-identified claims data toserver computer 110. For example, claims processor 130 may send theplurality of tokens and corresponding status values for each of theplurality of tokens to server computer 110 which server computer 110stores as de-identified claims data. Claims processor 130 may send thede-identified claims data as a plurality of data records, each of whichcomprising a unique token but not including any identifying information.

At step 208, attribute database 140 stores attribute data. Attributedata, as used herein, refers to a plurality of attribute data values forone or more personal data records. Thus, an individual attribute datarecord may identify a plurality of attributes of an individual as wellas identify the individual through identification information, such as aname, birthdate, social security number, address, or other identifyinginformation. Attributes may include known information relating topersonal data records, such as personal information, internet historyinformation, account information, or other stored information. Inembodiments, attribute databased 140 may store data relating to hundredsof attributes with data records containing information relating to asubset of the hundreds of attributes, such as when attribute data isunavailable for a particular personal data record for one or more of theattributes.

At step 210, attribute database 140 uses a tokenization scheme tode-identify the attributed data. In an embodiment, the tokenizationscheme used by attribute database 140 to de-identify the attribute datais the same tokenization scheme used by claims processor 130 tode-identify the claims data. For example, if the tokenization schemeused by the claims processor involved using a particular hash functionto hash a string comprising a first name, last name, and zip code andencrypting the hashed string using a particular encryption key, thetokenization scheme used by attribute database 140 may also use theparticular hash function to hash the same string and encrypt the samehashed string using the same particular encryption key. In this manner,despite both claims processor 130 and attribute database 140de-identifying information separately, the same token is created by bothclaims processor and attribute database 140 for the same personal datarecord. Additionally or alternatively, the tokenization may be providedby a tokenization server which uses the same method to generate tokensfor claims processor 130 and attribute database 140. Attribute database140 may then create the de-identified attribute data comprising, foreach personal data record, a token and values for one or more of theattributes.

At step 212, attribute database 140 sends de-identified attribute datato server computer 110. For example, attribute database 140 may send theplurality of tokens and corresponding attribute values for each of theplurality of tokens to server computer 110 which server computer 110stores as de-identified attribute data. Attribute database 140 may sendthe de-identified attribute data as a plurality of data records, each ofwhich comprising a unique token but not including any identifyinginformation.

At step 214, server computer 110 stitches attribute data and claims datainto a stitched data set. For example, server computer 110 may generatea plurality of rows of data, each row corresponding to a particularpersonal data record. One example of a stitching technique may comprisea left join of the claims data to the attribute data, thereby keepingall attribute data but only storing, in the de-identified training data,claims data stored with a token that corresponds to a token of theattribute data. As another example, server computer 110 may identifyclaims data comprising a particular token and attribute data comprisingthe same particular token. Server computer 110 may generate a row ofdata for the particular token, the row of data comprising a plurality ofcolumns for a plurality of attributes based on the attribute data andone or more columns for one or more status values based on the claimsdata. Thus, while each row comprises attribute data for a personal datarecord and claims data for the personal data record, the rows do notinclude identifying information for the personal data record.

While the systems and methods described in reference to FIG. 1 includethe tokenization of identifying information, in other embodiments, theidentifying information may not be tokenized and/or encrypted. Forexample, claims data 132, identifying information 134, attribute data142, and identifying information 144 may be sent directly to the servercomputer where the server computer, in the protected environmentstitches together the two datasets using the identifying informationinstead of using the encrypted tokens to match claims data to attributedata.

At step 218, media server 150 sends a request to server computer 110 fora machine learning system. The request may be sent through anapplication programing interface of the server computer 110 and maycomprise identifications of input columns and output columns from thestitched data. For example, the request may identify a subset of theplurality of attributes to be used as inputs and existence of aparticular status value as an output. The request may additionallyinclude parameters for the machine learning system, such as number ofnodes or layers.

At step 220, server computer 110 generates a machine learning systemfrom the stitched data based on the request. For example, the servercomputer 110 may generate a machine learning system, such as a randomforest model, neural network, logistic regression, or gradient boosteddecision tree such as the XGBoost algorithm, using stored parametersand/or parameters received from media server 150. The server computer110 may then train the machine learning system using the attributesidentified by media server 150 as inputs and a status value for aparticular status as an output.

As a practical example, media server computer may identify five inputattributes of age, gender, average number of checkups, weight, andheight and an output status value indicating existence or non-existenceof a diabetes diagnosis. Server computer may identify correspondingcolumns of the attribute data and claims data and generate a trainingdataset using only those columns. Additionally or alternatively, theserver computer may generate a column where data in the column isnon-numerical or stored in a different manner. For example, if a statusvalue column stored at server computer 110 includes, for each row, oneor more diagnosis codes for diagnoses corresponding to a personal datarecord, the server computer 110 may generate a column for a particulardiagnosis code by including, in each row of the column, a ‘0’ value ifthe row did not include the particular diagnosis code and a “1” if therow did include the particular diagnosis code.

At step 222, server computer 110 sends the machine learning system tomedia server 150. In an embodiment, server computer 110 validates one ormore of the training dataset used to train the machine learning systemor the trained machine learning system using the methods describedherein prior to sending the machine learning system to media server 150.The trained machine learning system may be sent in a form that isreadily usable by media server 150, such as a matrix of weights for themachine learning system.

At step 224, media server 150 uses the machine learning system todetermine whether to send media to a client computing device. Forexample, media server 150 may receive attribute data for the clientcomputing device. The attribute data may include values for eachattribute that was used to train the machine learning system. Mediaserver 150 may use the machine learning system to compute, from theattribute data for the client computing device, a likelihood ofexistence of the status. Based on the likelihood of existence of thestatus, media server 150 may send a related media item to the clientcomputing device. For example, media server 150 may determine whetherthe likelihood is greater than a threshold value and, if the likelihoodis greater than the threshold value, send the media item to be displayedon the client computing device.

Furthermore, in an embodiment, after step 214, 224, or other points inthe process, input may be received to request one or more analyticreports based upon the results of preceding steps. Examples of reportsthat may be requested and generated at points within the process flow ofFIG. 2 are described herein in other sections in connection with FIG. 8,FIG. 9.

2.3 Protected Environment Implementation

FIG. 3 depicts an example method for building and validating a machinelearning system in a protected environment.

At step 302, a server computer within a protected environment storesattribute data and status data. For example, the server computer maystore a plurality of columns of data, each column corresponding to adifferent attribute with values in each row indicating an attributevalue for a particular personal data record. The server computer mayadditionally store one or more columns of data identifying statusvalues, such as ICD-10 codes.

At step 304, the server computer receives instructions to generate amachine learning system with particular inputs and outputs. Theinstructions may identify which attributes to use as inputs and presenceor absence of a status value as an output. For example, instructions mayspecify inputs as age, gender, weight, and height and an output aspresence or absence of the ICD-10 code for Type 2 Diabetes. Theinstructions may also identify parameters for the machine learningsystem, such as a number of layers or number of nodes. Additionally oralternatively, the server computer may store parameters for the machinelearning system and/or be configured to vary parameters for the machinelearning system in response to the machine learning system failing tosatisfy one or more criteria.

At step 306, the server computer generates a training dataset fromstored data. For example, the server computer may initially identifypersonal data records that have values for each of the selected inputs.For example, some personal data records may lack a value for ‘age’ or‘gender’ and may thus not be used to generate a training dataset if theinstructions identified age and gender as inputs. The server computermay generate a training dataset for a plurality of personal data recordswith attribute values set as inputs and existence or non-existence of astatus value as the output. For example, if the output was specified asexistence of a particular ICD-10 code, then outputs for personal datarecords which included the particular ICD-10 code may be set to 1 whileoutputs for personal data records which did not include the particularICD-10 code may be set to 0.

In an embodiment, generating the training dataset comprises selecting asubset of the stored data which could be used to generate the trainingdataset. For example, if three thousand data records include therequired attributes, the server computer may select less than the threethousand data records to train the machine learning system. The numberof records used may be identified in the received instructions and/ormay be a stored percentage value. For instance, the server computer maybe configured to only use half of the available records. Additionally oralternatively, the server computer may select records such that aminimum number of records with the output are used for training and aminimum number of records with the records are not used for training,thereby ensuring that the machine learning system is unable to memorizeall stored personal data records.

At step 308, the server computer determines whether the datasetsatisfies a first criterion. The first criterion may comprise a minimumnumber of instances of a positive value for the output. The servercomputer may be configured to determine whether there are at least athreshold number of instances of personal data records with the statusvalue as an output. For example, if the output value is a particularICD-10 code, the server computer may determine if at least a thresholdnumber of data records in the stored data which can be used to build thetraining dataset comprise the particular ICD-10 code. The thresholdnumber may be a value stored at the server computer or identified in thereceived instructions. The first criterion may additionally oralternatively include a minimum number of instances of personal datarecords without the status value as an output, a minimum and/or maximumratio between personal data records with the status value as an outputand data records without the status value as an output, and/or a minimumnumber of remaining data records that were not used in the generation ofthe training dataset that include the status value and/or do not includethe status value.

Step 308 may be performed before the generation of the training dataset,thereby determining whether a training dataset generated from the storeddata could satisfy the first criterion. For example, if the firstcriterion is a minimum number of instances of a particular ICD-10 code,the server computer may initially identify each data record which couldbe used to generate the training dataset and determine whether a numberof the data records meets or exceeds the minimum number. In anembodiment, the server computer determines whether the stored dataincludes the minimum number of instances of the status value generallyin addition to determining whether the stored data which could be usedto build the training dataset includes the minimum number of instancesof the status value. Thus, the server computer may distinguish betweenwhether any training dataset could meet the first criterion when usingthe identified status value as an output or whether a training datasetusing the requested attributes as inputs could meet the first criterionwhen using the identified status value as an output.

If the dataset does not satisfy the first criterion, at step 316 theserver computer rejects the request for a machine learning system. Forexample, the server computer may send data to a requesting computingdevice rejecting the request for the machine learning system. Therejection may state that the first criterion was not satisfied. In anembodiment, the rejection additionally identifies whether the firstcriterion could be satisfied with different inputs, such as when aminimum number of instances of the output status value exists but doesnot exist in records which comprise attribute values for the requestedinputs.

If the dataset does satisfy the first criterion, at step 310 the servercomputer trains a machine learning system using the training dataset.For example, the server computer may generate a new machine learningsystem using received and/or stored values for the parameters of themachine learning system. The machine learning system may comprise alogistic regression model, neural network, random forest model, gradientboosted decision tree, and/or any machine learning system which can beused to solve a classification problem. In an embodiment, the receivedinstructions specify a type of machine learning system to train from aplurality of types of machine learning systems. For example, the servercomputer may store instructions for generating any of a plurality ofmachine learning systems. The server computer may receive instructionsspecifying which of the plurality of machine learning systems togenerate and train. The server computer may generate the machinelearning system using stored parameters and/or received parameters andtrain the machine learning system using attributes for personal datarecords as inputs and a value indicating existence or non-existence of aparticular status as outputs.

At step 312, the server computer determines whether the machine learningsystem satisfies a second criterion. The second criterion may relate toan accuracy of the machine learning system, thereby ensuring that themachine learning system is unable to memorize inputs completely. Forexample, the second criterion may be a maximum average computed percentchance of the status value when using the machine learning system tocompute outputs for the input training datasets which included thestatus as an output.

In an embodiment, the second criterion comprises a minimum fraction ofpopulation at risk based on the machine learning system. For example,the server computer may use the trained machine learning system tocompute outputs for a plurality of input datasets. The input datasetsmay include datasets generated from stored data that was not used totrain the machine learning system, datasets that were used to train themachine learning system, and/or datasets received with the initialinstructions to generate and train the machine learning system. Theserver computer may then compute a fraction of population at risk basedon a number of positive outputs from the plurality of input datasetsand/or a number of instances in the training dataset of a positivestatus value. An example equation may comprise:

R=T/P

where R is the fraction of the population at risk, T is the number ofinstances in the training dataset of a true positive for the outputvalue, and P is the number of positive predictions from using themachine learning system on the plurality of input datasets. The servercomputer may store a maximum threshold value for R as the secondcriterion, such as 0.2. Thus, if R is greater than 0.2, the servercomputer may determine that the machine learning system does not satisfythe second criterion.

If the machine learning system does not satisfy the second criterion, atstep 316 the server computer rejects the request for a machine learningsystem. For example, the server computer may send data to a requestingcomputing device rejecting the request for the machine learning system.The rejection may state that the second criterion was not satisfied. Inan embodiment, the server computer, after sending the rejection, mayreceive another request to generate a machine learning system. If therejection was received based on the first criteria, the server computercontinues with step 306. If the rejection was received based on thesecond criteria and the selected inputs and outputs remained the same,the server computer may skip checking the first criteria which is knownto be satisfied. For example, the second request may specify the sameinputs and outputs, but vary the parameters for training the machinelearning system in an attempt to decrease its accuracy or the percentageof the population at risk. The server computer may generate a newmachine learning system with the new parameters, train the new machinelearning system with the same training dataset, and determine whetherthe new machine learning system satisfies the second criterion.

If the machine learning system satisfies the second criterion, at step314 the server computer sends the trained machine learning system to therequesting computing device. For example, the server computer mayrelease the trained machine learning system from the protectedenvironment to the requesting device in response to determining that allcriteria have been satisfied. The trained machine learning system maycomprise weight values for each of the columns without including any ofthe training data used to create the trained machine learning system,thereby providing protection of personal data while still providing amachine learning system trained based on the personal data. As theserver computer is configured to perform these tasks without allowingany external access to the data stored in the server computer, theserver computer provides a means for utilizing protected or personalinformation without providing any knowledge of the protected or personalinformation.

2.4 Media Server Implementation

FIG. 4 depicts an example method for utilizing a secure environment tobuild and validate machine learning systems.

At step 402, a media server identifies client attributes, a targetstatus, and machine learning system parameters. For example, the mediaserver may receive input specifying client attributes for inputs and atarget status as the output. The media server may additionally receiveinput specifying the machine learning parameters. Additionally oralternatively, the media server may store initial machine learningparameters. In an embodiment, the media server further receives inputspecifying a type of machine learning system to build.

At step 404, the media server sends instructions, to a secureenvironment, to build a machine learning system with the identifiedclient attributes as inputs, target status as outputs, and the machinelearning system parameters. For example, the media server may sendinstructions through an API of a server computer executing the secureenvironment to build a machine learning system, the instructionsidentifying the attributes to use as inputs and the status value to useas the output.

At optional step 406, if the media server receives a rejection, themedia server, in response, sends instructions with updated attributes orparameters. The media server may receive a rejection if training data orthe machine learning system failed to meet one or more criteria. Themedia server may cause display of an error message and request differentinputs, outputs, and/or parameters to send to the server computer. In anembodiment, the media server may be configured to vary parameters forthe machine learning system when an error is received based on themachine learning system failing to meet one or more criteria. Forexample, the media server may be configured to change a number of nodesor a number of layers pseudo-randomly and/or based on a stored secondset of parameters.

At step 408, the media server receives a trained machine learningsystem. For example, the media server may receive the trained machinelearning system from the secure environment when the machine learningsystem has satisfied stored criteria. The media server may store themachine learning system and identifiers of the attributes used as inputsand status used as the output for the machine learning system.

At step 410, the media server receives attributes for a client computingdevice. The media server may be configured to determine whether to servea particular media item to the client computing device. For example, themedia server may be configured to determine which computing devices tosend an advertisement for a diabetes medication. The media server mayreceive the attributes for the client computing device prior to thesteps 402-408 or after. For example, the media server may storeattributes for a plurality of client computing devices prior toreceiving a request for media to be sent to the client computing device.

Additionally or alternatively, the media server may request attributedata from an outside source, such as an attribute database, based oninformation received from the client computing device. For example, themedia server may receive a request to display media on a clientcomputing device, such as in response to a client computing devicenavigating to a particular webpage. The media server may additionallyreceive data from the client computing device or from an external sourcewhich the media server may send to the attribute database with a requestfor attributes of the client computing device. The request may specifythe attributes used to train the machine learning system.

At step 412, the media server uses received attributes and the machinelearning system to determine a likelihood of a status. The media servermay use the attributes as inputs into the machine learning system tocompute a result or goal value indicating a likelihood of the status.Thus, if the machine learning system was trained using a diagnosis ofType 2 Diabetes as the output, the media server may use the attributesto compute a likelihood of Type 2 Diabetes based on the inputattributes. The server computer may compute the likelihood of the statusin response to receiving a request for media and/or in advance ofreceiving the request. For example, the server computer may computelikelihoods for a plurality of client computing devices and store thelikelihood values to be used later.

In an embodiment, the media server performs steps 402-412 a plurality oftimes for a single client computing device. For example, the mediaserver may request a plurality of machine learning systems from aprotected environment, each trained with a different status value as theoutput. The media server may use the plurality of trained machinelearning systems to compute a plurality of likelihood values, eachcorresponding to a different status. The media server may store theplurality of likelihood values for use in determining which media itemto send to a client computing device.

At step 414, based on the likelihood of the status, the media serverdetermines whether to send media items to the client computing device.For example, the media server may store a media item corresponding to aparticular status. The media server may determine whether the likelihoodof the status for the client computing device is greater than a storedthreshold value, such as 80%. If the likelihood is greater than thestored threshold value, the media server may send the media item to theclient computing device. If the likelihood is not greater than thestored threshold value, the media server may send a different media itemto the client computing device.

In an embodiment, the media server selects one of a plurality of mediaitems based on a plurality of likelihood values. For example, the mediaserver may store a plurality of media items, each corresponding to oneor a plurality of statuses. The media server may use a plurality ofmachine learning systems, each trained with one of the plurality ofstatuses as an output, to compute a plurality of likelihoods of a statusfor the client computing device. The media server may identify thestatus with the highest likelihood and select the media itemcorresponding to the identified status. The media server may then sendthe selected media item to the client computing device.

In an embodiment, the media server uses the likelihood of the status todetermine a value for one or more media items. For example, the mediaserver may receive a request to send a plurality of media items, such asone thousand media items, to client computing devices corresponding topersonal data records with the status value. If the likelihood of thestatus for a particular personal data record is 50%, the media servermay value sending the media item to the client computing device as beingvalued as one half of a personal data record corresponding to thestatus. Thus, if the request was for one thousand media items to be sentto client computing devices corresponding to personal data records withthe status value, the media server may send media items to clientcomputing devices until a value of personal data records sentcorresponds to one thousand, such as two thousand media items being sentto client computing devices corresponding to personal data records witha 50% likelihood of the status value. Additionally or alternatively, themedia server may use the likelihood of the status to dynamically pricesending media items to client computing devices. For example, if a pricefor sending a media item to a client computing device corresponding to apersonal data record with the status value is $10, the media server maycharge $5 for sending the media item to a client computing devicecorresponding to a personal data record with a 50% likelihood of thestatus value.

2.5 Modeling Implementation

In an embodiment, the systems and methods described herein may be usedto identify effects of particular actions on a status of a personal datarecord while protecting the used information. For example, the servercomputer may determine, within the protected environment, a percentageof identified personal data records with a particular status or apercentage of identified personal data records which received a benefitbased on a request from an external computing device, such as the mediaserver. Embodiments are described further herein.

In an embodiment, the server computer determines a percentage ofidentified personal data records with a particular status. For example,after sending media items to a plurality of client computing devices,the media server may store identifiers for a plurality of personal datarecords corresponding to computing devices which received media itemscorresponding to a particular status, such as cookie identifiers. Themedia server may send to the server computer, the identifiers and anidentification of the particular status. In an embodiment, the mediaserver generates unique tokens for the plurality of personal datarecords using the methods described herein and sends the generatedunique tokens to the server computer with an identification of thestatus. The server computer may match the received identifiers topersonal data records stored in the protected environment, such asthrough a mapping of cookie identifiers to personal data records. Theserver computer may then determine, within the protected environment,for each identifier, whether the identifier corresponds to theparticular status. As an example, the server computer may determinewhether a particular ICD-10 code is listed in a row corresponding to thepersonal data record. The server computer may determine a number and/orpercentage of identifiers that correspond to the particular status andsend the number and/or percentage to the media server.

In an embodiment, the server computer may be configured to only send thenumber or percentage of identifiers from the protected environment inresponse to determining that the number and/or percentage satisfies athird criterion. The third criterion may be a minimum number of totalidentifiers, a maximum number and/or percentage of identifiers with theparticular status, or a minimum number or percentage of identifiers withthe particular status. By using a third criterion, the server computermay ensure that protected information is not released to the mediaserver.

In an embodiment, the server computer is configured to determine abenefit for one or more personal data records based on additionalreceived claims data. For example, the claims processor may sendadditional claims data to the server computer. The server computer mayreceive the additional claims data and correlate the additional claimsdata with previously stored claims data, such as through uniqueidentifiers generated by the claims processor. The server computer mayadditionally receive data from the media server comprising a pluralityof identifiers of personal data records corresponding to computingdevices which received a media item corresponding to a particularstatus. The server computer may determine, from the plurality ofidentifiers of personal data records and the received additional claimsdata, a number and/or percentage of personal data records which receiveda benefit. A benefit, as used herein, comprises a determination made bythe server computer of a change in a status of a personal data recordthat has been defined as beneficial. Definitions used by the servercomputer as a “benefit” are further described herein.

In an embodiment, a benefit is defined as an additional statuscorresponding to the personal data record. For example, the servercomputer may receive an identification, from the media server, of aprescription code for a medication corresponding to a sent media item.The server computer may determine, from the additional claims data,whether any of the personal data records corresponding to theidentifiers received from the media server comprise the prescriptioncode for the medication. The server computer may compute a number and/orpercentage of the identifiers which correspond to personal data recordsthat comprise the prescription code in the additional claims data andsend the number and/or percentage to the media server.

A benefit may also be defined as removal or change of a status incorresponding data records. For example, the server computer may beconfigured to determine a benefit has occurred if the particular statusis listed as removed in future data records, has been changed to astatus identified by the media server, such as a less severe version ofa disease, or if a different status, such as a prescription for a painmedication, has been removed, thereby indicating that pain management isno longer necessary. In an embodiment, the benefit may be defined by anumber of claims, such as a decrease in a number of doctor visits or adecrease in refills of a prescription.

In an embodiment, the benefit is defined by a request from the mediaserver. For example, the media server may send a request to the servercomputer comprising a plurality of identifiers and one or more statusesand/or status changes for the plurality of identifiers. As a practicalexample, the media server may send a request for identification of anumber and/or percentage of identifiers sent by the media server thatcorrespond to personal data records which had a removal of a particularstatus in additional claims data. The server computer may identify, ofthe identifiers sent by the media server, each identifier that initiallycorresponded to the particular status. The server computer may thenidentify, of the identifiers that corresponded to the particular status,which identifiers had a removal of the particular status in the futureclaims data. The server computer may then send a number or percentage ofreceived identifiers that had the removal of the particular status infuture claims to the media server.

2.6 Benefits of Certain Embodiments

The systems and methods described herein contribute to the technicalcharacter of machine learning system use by being particularly adaptedto a specific technical implementation where instructions to generate atraining dataset and machine learning system and to train said machinelearning system using the training dataset are received from an externalserver computer. Meanwhile, the server computer within the protectedenvironment is used to train and validate the machine learning systemwhich is then released from the protected environment to be used by theexternal computing system. This unique technical implementation ofmachine learning systems provides additional data protections forinformation stored by the server computer by performing the training andvalidations in the server computer in a manner where the initialtraining data cannot be viewed by a user of an external device.

The systems and methods described herein further provide a practicalapplication of a machine learning system through the generation andtraining of the machine learning system in a protected environment in aserver computer. These systems and methods provide a particular means ofsolving a technical problem, the use of protected information withoutproviding said protected information into an environment where it can beseen or used by a user. By using stored rules to validate the machinelearning system in the protected environment and providing a means fordefining the generation and training of the machine learning system fromoutside the environment and without access to the training data, thesystems and methods described herein provide a technical solution to atechnical problem of how to provide a trained machine learning systemwhich protects training data without providing access to said trainingdata.

3. Campaign Performance Measurement and Optimization

In particular embodiments, ad serving data may be combined withhealthcare data at a measurement server computer to measure the effectof healthcare advertisements on patient results and HCP behavior change.This combined data may further be used to measure interactions betweenconsumers and service providers, and to quantify how certain adcampaigns lead to improved health results. A DSP thus offers the abilityto plan, activate, and measure healthcare campaigns that deliver timelyinformation to patients and their HCPs to help them make more informeddecisions about their health. Measured results may then be used toadjust and optimize various parameters of particular ad campaigns inorder to achieve a further desired result, thus enabling control,customization, and delivery of independent or integrated campaigns forHCPs and patients.

FIG. 6A illustrates an example distributed computer system with whichcertain embodiments may be implemented. FIG. 6B illustrates the systemof FIG. 6A with certain optimization elements.

In an embodiment, referring first to FIG. 6A, a distributed computersystem 600 comprises a DSP environment 610, medical data repository(MDR) environment 620, and analytics code space 630. Typically, the DSPenvironment 610 and the medical data repository environment 620 withanalytics code space 630 represent different computing domains ofindependent parties, but in some embodiments, they may comprise the samecomputing device, virtual machine instance, domain, entity, or computingcenter. Each of the DSP environment 610 and medical data repository(MDR) environment 620 comprises at least one computer, process,processor, or virtual machine instance, in a public or privatedatacenter, that is programmed to execute the functions that are furtherdescribed in the following sections. Within the DSP environment 610 andmedical data repository (MDR) environment 620, a computer or virtualmachine instance is communicatively coupled to the other functionalelements that are shown within each environment, respectively, directlyor indirectly via one or more network links. Analytics code space 630comprises a set of executable instructions that may execute on the sameprocessors or computers that implement the medical data repositoryenvironment 620. In some embodiments, analytics code space 630 is adomain for executing custom code that may be originally authored by anentity associated with the DSP environment 610, but securely executedwithin the medical data repository environment 620.

In an embodiment, DSP environment 610 comprises a measurement servercomputer that is communicatively coupled directly or indirectly toserver computer 110 and may execute using the same servers as servercomputer 110, or different servers. In an embodiment, DSP environment610 comprises an impression database 612 that is programmed to storedata describing impressions delivered by the DSP in advertisingcampaigns. In an embodiment, impression database 612 stores records 613with column attributes such as a device identifier (DI), campaigndescriptions, timestamps for parts of the campaign (e.g., times ofserving various impressions, or start/end times of stages of acampaign). Each DI may be a de-identified token representing a consumeror other user of a device. In other embodiments, records 613 may usehashed emails or other identifiers associated with a consumer and/or HCPand linked to the impression data, and a DI is not required.

In an embodiment, impression data of consumers from database 612 isprocessed using a data mapping process 614 which is programmed to map DIvalues to de-identified user device tokens, which may be denoted in oneexample as DV(DI)t. Output from data mapping process 614, comprisingtokenized impression data representing online interactions withconsumers is programmatically transmitted to the join data operation 632in analytics code space 630, which is further described in othersections herein. In database 612, from impressions delivered to HCPs,HCP identifiers 615 may be extracted and programmatically transmitted tothe join data operation 632. Examples of HCP identifiers include NPIs,Medical Education (ME) numbers, or any other unique identifier of aparticular healthcare provider.

In some embodiments, MDR environment 620 is owned, operated, and/ormanaged by an entity independent of a second entity that owns, operates,and/or manages the DSP environment 610. In an embodiment, DSPenvironment 610 may comprise a measurement results database 616 that isprogrammed to store tracked measurement results for an advertisingcampaign. Generating measurement result data for database 616 isdescribed in other sections herein.

In an embodiment, MDR environment 620 may comprise a claims database 622that is programmed to store prescription and procedure records derivedor copied from medical insurance claims submissions of HCPs to insurancecarriers, government agencies, or other payers. In some embodiments,claim data records include personally identifying information forpatients, prescription and diagnosis (Rx and Dx) data of a largeplurality of patients. As an example, this Rx and Dx data may includediagnosis (ICD-10), drug (NDC), or medical procedure (CPT) codes, orother values that describe claims for procedures, prescriptions, orother encounters of service providers and consumers. Because database622 stores personally identifiable information (PII) in claim datarecords, MDR 620 will be subject to high-security techniques to preventdisclosure or unauthorized use of the data.

The MDR may implement proprietary algorithms for mapping PII tode-identified token values and computers or processes of the DSPenvironment 610 may access or call these algorithms via an applicationprogramming interface (API) implemented in the MDR environment. The MDR620 also implements code to extract HCP identifiers, such as NPIs, fromrecords in claims database 622; while these values do not requiretokenization because they identify healthcare providers and do not carrythe privacy implications of consumer data, they are useful in joiningrecords in later steps to identify when the same campaign has reachedthe same provider and consumer and is associated with a prescription orclaim for the product involved in the campaign. Data mapping process 614may be programmed to transmit an API call to MDR environment 620, thecall including a device identifier value, and to receive a responsespecifying a mapped de-identified token value. With this approach, indownstream steps, a given DI from data mapping process 614 can match ade-identified token value that MDR environment 620 has internallycreated and stored based upon PII, other available data, and proprietaryalgorithms executed within the MDR environment. Further, the MDRenvironment 620 operates to find HCP identifiers in claims data andprovide them to later steps for use in record joining and matching.

In an embodiment, within the secure MDR environment 620, claims database622 is coupled to a token process 623 that is programmed to de-identifyand tokenize the claims data and store de-identified, tokenized recordsin a separate database 624. HCP identifiers also may be extracted fromrecords in claims database 622 and stored in the same database 624 asfor de-identified tokenized claims records but without tokenization; forexample, a record in database 624 may store tokens which link consumerswho were involved in a claim to such claim on a de-identified basis, butmay store HCP identifiers as-is, without tokenization. Or, HCPidentifiers or other attributes in records of claims database 622,whether or not they consist of conventionally recognized PII, may betokenized or otherwise de-identified prior to storage in records indatabase 624. In an embodiment, records of database 624 do not includePII but are encoded with tokens for consumers which may be denoted inFIG. 6A and FIG. 6B, for example, DV(D)t. Other values in records ofdatabase 624 may be the same as in claims database 622. Data may betokenized such that patient information associated with given codes isde-identified to comply with HIPAA and/or other legal requirements.

In analytics code space 630, de-identified tokenized claims database 624is coupled to join data operation 632 which may be programmed to executea join of records from database 624, output of data mapping process 614,and HCP identifiers 615. For example, data records 634 received fromdatabase 624 via join data operation 632 may be matched to records 638that have been received from data mapping process 614 via join dataoperation 632 and joined based on matching values of a key such asde-identified token and HCP identifiers 615. HCP identifier 615, whetheror not they consist of conventionally recognized PII, could be tokenizedor otherwise de-identified prior to being joined and matched via joindata operation 632 with HCP identifiers extracted from claims database622. A result set is programmatically provided to an analytics operation636 which is programmed to execute one or more analytics operations onthe result set. The output of operation 636 is dataset 618, whichspecifies campaigns and metadata concerning campaigns that have reachedboth service provider devices and consumer devices. Analytics atoperation 636 can include calculating audience quality, lift analysis,or other metrics, and the creation, training, and verification ofmachine learning models 640 for export to the DSP 660 as optimizationmodels 652 for use in continuous optimization of the DSP. In anembodiment, an optimization model 652 may be the same as a machinelearning model except that it has passed verification and has a logicallocation within the system that allows for evaluation of bid requestdata and use in optimization of a bidder as further described in othersections.

The output dataset 618 may be exported or otherwise transmitted todatabase 616 in DSP environment 610 and stored as measurement results.Within analytics code space 630, measured results also may be used togenerate analytics reports, which may be used to train machine learningmodels 640 that can output predicted values capable of being loaded asoptimization models 652 in server computer 110 to adjust parameters of arelevant advertising campaign, as further described in other sections inconnection with FIG. 6B, FIG. 7C.

FIG. 7A illustrates an example measurement and management process for agiven campaign. FIG. 7B illustrates an example measurement andmanagement process for a given campaign. FIG. 7A, FIG. 7B each representdifferent embodiments of the following general process. A user oraccount sets up campaigns targeting specific healthcare provider andpatient audiences, or campaigns targeting other kinds of serviceproviders and consumers. Target audiences are defined by clinicalattributes. Audiences are loaded into the DSP and attached to adcampaigns. In an embodiment, each campaign may be represented using adataset in which one attribute specifies whether the campaign shouldreceive integrated measurement reporting. In an embodiment, if theattribute is set so that reporting is being used, then a report isinstantiated through a registration process. A new reporting job iscreated and will periodically refresh, update key reporting statistics,and deliver reports by merging and joining DSP data with clinical dataavailable via the architecture described for FIG. 6. When a campaignfinishes, a request to the registration API causes the system to ceaseto collect statistics and update the report. DSP data will besubsequently pushed to the environment on periodic update forprocessing. Each report consists of several dimensions of analysis(“reporting pivots”). Data will be combined with patient clinical dataand HCP clinical data, and the combined dataset will run through variousreporting analytic processes to update each report pivot for eachreport. Reports are pushed to a working database once done. Automatedprocesses will be notified and load the data into UI database. Data ismade available within a specialized graphical user interface; FIG. 9shows one example and is further described in other sections herein. Inan embodiment, the DSP may automatically optimize campaign targeting tospend more money on ads and on impressions that yield betterperformance, such as a lower cost per conversion or prescription.

Referring first to FIG. 7A, in an embodiment, the steps or operations ofFIG. 7A may be implemented using stored program instructions ofcomputers that implement DSP environment 610 and analytics code space630. In an embodiment, at step 702, the process is programmed to obtain,from a DSP, impression data specifying a first set of campaigns that areassociated with a first set of one or more healthcare attributes, thefirst set of campaigns being among a plurality of different campaignsexecuted by the DSP.

At step 704, the process is programmed to obtain, from the impressiondata, a first plurality of records with de-identified consumer tokensrepresenting consumers who have received digital impressions of thefirst set of campaigns that are associated with the same first set ofhealthcare attributes.

At step 705, the process is programmed to obtain, from the impressiondata, a second plurality of records with HCP identifiers representingHCPs who have received digital impressions of the first set of campaignsthat are associated with the first set of healthcare attributes.

At step 706, the process is programmed to receive, based on analyticsinstructions executing in a database server, a set of de-identifiedtokenized patient claims data records, each of the data records relatingto at least one claim concerning a prescription of a specified product.These records provide a basis for matching to the records of step 704.

At step 707, the process is programmed to match the HCP identifiers inthe records of step 705 to HCP identifiers in claims data records amongthe set of de-identified tokenized patient claims data records, each ofthe data records relating to at least one claim concerning aprescription of a specified product. Matching records may include someof the records that were selected at step 706. At this point, theprocess will have matched, in a manner that fully preserves consumerprivacy, records of campaigns for which consumers received impressions;records of campaigns for which HCPs received impressions; and records ofclaims that involved the same patients and/or HCPs, as well as the sameproduct involved in the campaign. These matching steps have beenunavailable in prior practice. The ability to tokenize claims data in asecure environment, to tokenize impression data in the same manner,coupled with analytics such as matching tokens associated withimpression records to de-identified tokenized claims records and/or withanalytics such as matching HCP identifiers with impression records,optionally in combination with training a machine learning model basedon analytics output to predict bids or other DSP parameters that may beautomatically updated or modified in the DSP, represents a key advancein the art that the inventors conceived in an inventive moment. Itenables extracting new meaning from data using computer executedoperations that have not previously been used in the combinationpresented in this disclosure.

At step 708, the process is programmed to receive, from the databaseserver, a result set of one or more integrated measurement recordsspecifying one or more measured campaigns among the plurality ofdifferent campaigns, the one or more measured campaigns being associatedwith the prescription of the specified product in at least one claimsdata record that is associated with at least one of the consumer tokensand/or at least one of the HCP identifiers.

At step 710, the process is programmed to generate and cause presentingone or more analytics reports based on the integrated measurementrecords. Particular embodiments may repeat one or more steps of themethod of FIG. 7A, where appropriate.

As one particular example of this overall process, two advertisingcampaigns (one for HCPs and one for patients) may be linked andregistered with the MDR environment 620. These campaigns may be marketedto deliver ads about a new medication to patients with a particularhealth condition (for example, COPD) and HCPs who specialize in treatingpatients with this particular health condition (COPD). Impression dataof the advertising campaign for patients may be pushed to the MDRenvironment, where analytics instructions may be executed to extractde-identified tokens of patients having a diagnosis code indicating thatthey have COPD, or having drug codes/NDCs indicating that they takemedications for COPD. By contrast, because HCP information does not needto be anonymized, HCPs associated with the condition of COPD may bedirectly identified at the measurement server computer 610 or DSP system110 by NPIs or other identifiers. As an example, NPIs of targeted HCPsmay be identified by identifying their practice/specialty area, or byprescriptions/drug codes written by that NPI for COPD medications. Thus,impressions data of the advertising campaign for HCPs may be pusheddirectly to the MDR environment 620 with all information alreadydetermined. As an example, the server computer 110 has alreadydetermined which NPIs have been served the targeted advertisements.

With these HCP and patient campaigns now linked, effects of the twocampaigns may be determined with respect to changing patient/HCPbehavior. As an example, the MDR environment may observe an increase inthe number of prescriptions associated with the NDC code for the newadvertised medication. In particular embodiments, this number may bemeasured at very detailed levels. For example, the increased number ofprescriptions/script-writing behavior for the new advertised medicationmay be determined and shown for when an impression was shown only to apatient, only to an HCP, to both a patient and an HCP, or to either orboth a patient and HCP at a time close to when a particular encounterbetween these two parties occurred, as indicated in records of claimsdatabase 622.

In particular embodiments, this measurement may be updated at regularintervals, such as weekly. In this situation, consumer data at the MDRenvironment 620 may be refreshed (for example, new prescriptions havingthe desired NDC code, new visitation codes indicating qualifiedencounters between targeted patients and HCPs, or new patient recordshaving a diagnosis code indicating COPD diagnosis may be determined).Coverage of the ad may also be determined; as an example, it may bedetermined that an ad had 62% coverage, meaning that the ad was servedto either the patient or the HCP in 62% of the total recordedvisitations. Similarly, at the DSP environment 610, impression data forthe advertising campaigns may be refreshed (for example, records of NPIsthat have received the COPD ad, number of ads displayed on variouswebsites, and the total amount of spending per impression may bedetermined). This data may be pushed to the analytics code space 630 ofMDR environment 620, where it may be joined with the de-identifiedconsumer data via operation 632. This data may then be matched torefreshed data of the MDR environment 620, such as the number ofprescriptions written for the NDC code over the past week.

In an embodiment, data concerning the performance of the advertisingcampaign may then be fed into a machine learning algorithm, whichdetermines how best to optimize and update parameters of the advertisingcampaign. Referring now to FIG. 6B, in an embodiment, analyticsoperation 636 may be coupled to a machine learning model buildercomprising an executable script that trains a machine learning model 640against all available data in the analytics output of analytics codespace 630. User data, bid request data, and results of analyticsoperation 636 all may contribute to the machine learning model builderand its output in the form of a resulting machine learning model 640,which may be constructed initially within analytics code space 630 andexported to DSP environment 610 as part of optimization models 652.

In an embodiment, optimization models 652 are programmed toautomatically modify one or more parameters of a campaign in the DSP 660based on results that have been derived via analytics operation 636 fromreal-world clinical data and campaigns. The automated modification ofcampaign parameters may result in more efficient media investments inthe form of higher return on advertising spend (ROAS) or lower cost perconversion, such as prescriptions or procedures. For example,optimization models 652 may be programmed using machine learningclassifiers coupled to programmed optimization functions to receive, asinput, bid request data of existing campaigns in DSP 660 and demographicsegment data associated with campaigns that were identified assuccessful in analytics operation 636, and to output parameter valuesfor bids and/or segments. For example, output of models 652 may drivepricing or fulfillment of ad requests that are configured in DSP 660.

Optimization models 652 may interoperate with UI 616 to present agraphical user interface that is programmed to receive optimizationinput, such as user input specifying an optimization goals. Examples ofgoals include optimization based on cost per total prescriptions, costper new prescription, cost per new-to-brand prescriptions, or cost peraction (CPA).

As an example, the change over the past week in the number ofprescriptions with the desired NDC code may be compared against variousparameters, such as format, publisher/website, specialty, geography,frequency, etc. As an example, if it is determined that impressions froma first website led to a relatively large number of prescriptions beingwritten for the new COPD drug, while impressions shown on a secondwebsite resulted in only a relatively small number of new prescriptionsbeing written, spending may be automatically shifted to decrease thenumber of impressions spent on the second website, while increasing thenumber of impressions purchased on the first website Similarly, if it isdetermined that impressions shown in a particular geographical area ledto more scripts being written for the new COPD drug, then the DSP systemmay refine the targeting parameters of the advertising campaign to focuson presenting impressions to patients/HCPs in that geographicallocation, even if they are presented on the same websites. Thus, thedata used for targeting ads in the first place is the same data used tomeasure the performance of the campaign, thus enabling greater accuracyand optimization in reaching the desired patients/HCPs and the influenceof the campaign itself.

FIG. 7C illustrates example functional elements and data flows in anembodiment of DSP optimization.

In an embodiment, within DSP environment 610, impression data 612 forimpressions related to campaigns is processed via data mapping operation614 and delivered with HCP identifiers 615 to join operation 632 withinthe analytics code space 630. For example, an impressions log file maybe transferred to analytics code space 630 for secure processing withinthat environment. In some embodiments, demographic data 772 also istransferred from DSP environment 610 to analytics code space 630 incombination with impression data 612, and comprises records describingdemographic characteristics of audience segments and/or consumers whoare represented in the impression data 612. Demographic data 772 alsomay comprise values for publisher website, time of day the ad is served,or device type.

In some embodiments, the impressions data 612 and demographic data 772may be tokenized, before transfer, using commercially availablede-identified tokenization software. The transfer of data from DSPenvironment 610 to medical data repository 630 also may includeselecting specified fields that are necessary for model training.

In one embodiment, impressions data 612 and demographic data 772 ascombined and transferred to join data 632 comprises a plurality ofrecords each having values or attributes for:

-   -   Type of inventory (“site”, “app”)    -   Type of device (“phone”, “personal computer”, “tablet”)    -   Endemic publisher or non-endemic (“true” or “false”)    -   Type of creative (“banner” or “video”)    -   Demographic segments (array of demographic segments for a given        impression. A sequence of segment values as “<segment ID>:1”s)    -   GEO state    -   Inventory ID    -   ZIP3 (3-digit zip code).

Within the analytics code space 630, impressions data 612 and thedemographic data 772 are joined to de-identified, tokenized claims data624, as indicated by join data operation 632. In an embodiment,de-identified tokens and/or HCP identifiers are used as common key(s) inthe join operation. The join operation 632 may result in creating andstoring a result file.

In an embodiment, at operation 776, the result file is prepared fortraining. At operation 778, a machine learning model 640 is trainedusing the result file as a training dataset. In some embodiments,operations 776, 778 form part of the run analytics operation 636 of FIG.6A, FIG. 6B.

At operation 780, the trained machine learning model 640 is subjected toa verification process, which may be programmed to verify that thetrained model complies with data privacy or de-identificationrequirements. For example, verification may address whether the trainedmodel complies with HIPAA when patients or healthcare data are involved.

When verification is successful, the trained machine learning model 640is exported or transferred to DSP environment 610, as represented byoptimization models 652, and path 784 of FIG. 7C. In an environment, DSPenvironment 610 comprises a bidder 774, implemented as a functionalelement in software and programmed to execute in the manner furtherdescribed in this section and other sections. A bidder 774 may load theoptimization model(s) 652 and evaluate bid request data 790 using thetrained models to result in outputting predictions of bid values orother parameters of the bidder 774 that can be used to modify operationof the DSP in relation to the campaign. For example, assume that usercomputer 786 of a consumer or service provider contacts a website 788 orother device by which digital advertisements are placed. In the courseof serving digital ads to website 788, which delivers bid request data790 to the bidder 774. Bid request data 790 may be enriched withdemographic data 772 and supplied to optimization model(s) 652 for usein an evaluation or execution of the model to produce classification orprediction output, for example, to predict the likelihood of aconversion, such as the likelihood of a consumer being prescribed atreatment or product, and/or the likelihood of a service providerprescribing a treatment or product. Thus, after having imported theoptimization model 652, bidder 774 uses the optimization models 652 andscores incoming bid request data 790 using Open Real-Time Bidding(OpenRTB fields) as well as demographic data 772. Based on thepredictions of the optimization model 652, the bidder 774 may adjust bidprice accordingly, to target more relevant advertisements served on path792 to user computer 786 of consumers and/or service providers andoptimize towards improved conversions or other goals.

Output predictions from optimization models 652 may be automaticallyloaded to bidder 774, or an administrative user accessing the DSPenvironment 610 may conduct review through a user interface and applyconfiguration changes bidder 774 manually.

In some embodiments, execution of optimization models 652 in relation tobidding data, output of predictions, and configuration of the DSP basedon the predictions may be fully automated using programmatic control.Using this approach, or the approach described above, embodiments mayexecute continuous optimization on the performance of the bidder 774 viaa feedback loop in which execution of optimization models 652 on newlyreceived impression data 612 causes rapid updates to bids or otherparameters of the bidder 774 for serving advertisements to user computer786 via path 792 to improve conformance to goals. Thus, the process ofoptimization includes the bidder being optimized by the optimized modelwhich reads the bid request data and demographic data and causes thebidder to determine on whether to bid and how much to bid, and using theoutput to cause serving an advertisement based on those optimizedparameters.

In one specific implementation, the machine learning model 640 that istrained at operation 778 to eventually result in optimization models 652may implement a gradient boosted decision tree; other embodiments mayuse deep learning neural networks or other forms of machine learningmodels. For example, in some embodiments the XGBoost library may be usedto implement the model. For this implementation, preparing data atoperation 776 may comprise converting the result data into a formatsuitable for the XGBoost library. In one approach, each record has alabel assigned that specifies whether the record is converted or not,based on the existence or a miss of a medical record or transaction. Abinary value may be used. Further, all other data points are representedas integers.

In one specific implementation, operation 776 may comprise convertingthe training dataset into LibSVM format, which may be expressed as labelfeature1:1 feature2:1. The value label:110 is a Boolean flag thatdemonstrates if a match was found between a medical transaction recordand a given impression record and can have the value (“1”) for found or(“0”) for not found. LibSVM is just one of the formats supported by theXGBoost library, and other embodiments may use other formats to submittest datasets.

Further, in one implementation, all features are hashed using themurmur3 hashing algorithm, after which a modulus operation is executedto reduce the number further. The hash operation may be expressed asmurmur3(‘f01:<value>’), where f01 is an index of the feature and<value>is a value of the feature. As an example, for theInventoryType=“site”, the feature may be “166685:1”, where 166685 is amurmur3 hash of “f01:site”. The “murmur3” algorithm is only one exampleof a hash algorithm that may be used, and other embodiments may usedifferent hash algorithms.

As an example of a suitable machine learning model, XGBoost is adecision-tree-based ensemble algorithm that uses a gradient boostingframework. In prediction problems involving structured data or tabulardata, algorithms based on decision trees are preferred. Other decisiontree models or other machine learning models may be substituted in otherembodiments. In one embodiment, the XGBoost library may be configuredwith the following parameters:

-   -   eta—Step size shrinkage used in update to prevent overfitting    -   max_depth—Maximum depth of a tree    -   num_round—The number of rounds for boosting    -   min_child_weight—Minimum sum of instance weight (hessian) needed        in a child    -   gamma—Minimum loss reduction required to make a further        partition on a leaf node of the tree    -   objective—Specify the learning task and the corresponding        learning objective    -   tree_method—The tree construction algorithm used in XGBoost.        XGBoost supports approx, hist and gpu_hist for distributed        training. Experimental support for external memory is available        for approx and gpu_hist.    -   eval_metric—Evaluation metrics for validation data, a default        metric will be assigned according to objective (rmse for        regression, and logloss for classification, mean average        precision for ranking)        A detailed explanation of these parameters is set forth in the        file “parameter.html” in the path “/en/latest/” of the domain        xgboost.readthedocs.io. Parameter values may be tuned after        observing training results or evaluation results, thereby        providing a process of continuous optimization of the DSP 660.

FIG. 7B illustrates an example measurement and management process for agiven campaign.

Assume for purposes of illustrating a clear example that a computer,account, or user represented by element 732 interoperates with a planner734 of the DSP system 110 to define a campaign directed to HCPs anddefining an HCP audience. Asynchronously, an operational or Ops function736 of the DSP is used to create a consumer campaign directed topatients. Definition of the consumer campaign may involve interoperatingwith a patient modeling environment 740 to define a consumer audience.Data representing both the service provider audience and consumeraudience is loaded in DSP 110. Campaign setup processes may execute, forexample, using the audience modeling and other techniques discussedabove with respect to FIG. 1, FIG. 2, FIG. 3, FIG. 4, FIG. 5.

At block 742, in one embodiment, the process executes a test todetermine whether the advertising campaign has enabled an integratedmonitoring and reporting function through the DSP system 110. If thefunction has not been enabled, then DSP system 110 executes in themanner described above and integrated reporting does not execute. Ifblock 742 is TRUE or YES, then control transfers to block 744.

At block 744, the process is programmed to test whether the campaign isnew. “New,” in this context, means that data for the campaign has notbeen posted or registered with the MDR 620. If block 744 is TRUE or YES,then control transfers to block 746 and the new campaign may beregistered with the MDR environment 620. Registration, in oneembodiment, comprises executing an operation to transfer, to MDRenvironment 620, a dataset 748 comprising data describing a campaign.For example, a POST operation may be used to transfer data in the formof a JSON blob, parameterized HTTP, or other structured data transferwith a dataset 748. In an embodiment, dataset 748 specifies anorganization, advertiser, one or more HCP campaign groups, one or moretarget numbers of HCPs, one or more patient campaign groups, one or morepatient target attributes, and one or more identifiers of metrics formeasurement. Custom code executing in analytics code space 630 may beprogrammed to execute, in response to a registration operation,transmitting to a configuration database 751, a definition of a reportor other output.

If the test of block 744 is FALSE or NO, then in an embodiment, controltransfers to block 750 at which the process is programmed to determineswhether an analytics report on the performance of the advertisingcampaign should be updated. Block 750 may represent inspecting a storedschedule and testing whether a system clock value returns a date-timevalue that is equal to a scheduled report execution date. As an example,the DSP measurement server 610 may automatically execute a firstiteration of running, measuring, and updating an advertising campaignbased upon a digitally stored execution schedule. Such an executionschedule may result in the report being generated upon request or atregular intervals, such as weekly, daily, or in real time. Or, the testof block 750 may represent a CRON job or other scheduled job thatexecutes according to a schedule and triggers a signal to MDRenvironment 620 at a specified time.

If the test of block 750 is FALSE or NO, then monitoring of theadvertising campaign may continue. If the test of block 750 is TRUE orYES, then in an embodiment, operations 632, 636 (FIG. 6) may execute, inwhich tokenized impression data and HCP identifiers may be sent to theMDR environment 620 to be joined with tokenized claims data records withHCP identifiers from database 624. In some embodiments, metadataconcerning impressions also is transmitted and used in the joinoperation. In an embodiment, as indicated at block 752, 753, reports ofcampaign impression data resulting from actual impressions to serviceproviders and/or consumers may be generated and transmitted or posted tothe MDR environment 620. For example, for one or more of the measuredoutput campaigns, a set of impressions data of a first impressionassociated with a particular campaign among the plurality of differentcampaigns may be updated to generate an updated first impression. A setof de-identified patient tokens representing consumers associated withthe first set of one or more healthcare attributes may be appended tothe updated first impression, and the particular campaign may be updatedbased on the updated first impression and the appended set of thede-identified consumer tokens. Subsequently, one or more seconditerations of running, measuring, and updating the advertising campaignbased upon a digitally stored execution schedule may be executed usingnewly received campaign impression data from the impression database612. In particular embodiments, the set of impressions data may beupdated, and the updated first impression may be generated, by amachine-learning algorithm such as one performed by an artificial neuralnetwork, such as that described below with respect to FIG. 10. Asdetailed at block 752, an update process may be programmed to fetchcampaign impression data, for example from a scratchpad database 756, tocombine the campaign impression data with tokenized, de-identifiedclinical/patient data, execute reporting/analytic routines, and transmitor push updated reports to the scratchpad database 756 as furtherrepresented in block 754.

In an embodiment, at block 758, reporting data is processed forpresentation and loaded to a user interface (UI) database 760 forstorage. At block 762, the stored analytics reports may be retrieved andpresented via a user interface.

In particular embodiments, the measurement server computer may obtain,from a demand-side platform (DSP), impression data specifying a firstplurality of de-identified consumer tokens representing consumers whohave received digital impressions of a first set of campaigns that areassociated with a first set of one or more healthcare attributes, thefirst set of campaigns being among a plurality of different campaignsexecuted by the DSP. Each de-identified consumer token may be linked toa first healthcare attribute of the first set of healthcare attributesand may be further linked to a first de-identified tokenized claims datarecord from among a set of de-identified tokenized claims data records.Further, each campaign in the first set of campaigns may be defined inthe DSP using at least one clinical attribute in the first set ofhealthcare attributes. As examples, each clinical attribute may be anyof an ICD-10 code, CPT node, or NDC code.

In particular embodiments, the measurement server computer may obtain,from the DSP, impression data specifying a second plurality ofhealthcare provider (HCP) identifiers representing HCPs who havereceived digital impressions of the first set of campaigns that areassociated with the first set of healthcare attributes. As an example,the HCP identifiers may be National Practitioner Identifier (NPI)values.

In particular embodiments, the measurement server computer may receive,based on analytics instructions executing in a database server, a set ofde-identified tokenized claims data records, each of the data recordsrelating to at least one claim concerning a prescription of a specifiedproduct.

Using the foregoing approach, large datasets may be successively refinedinto smaller datasets representing the service providers and/orconsumers who are qualified for a campaign, exposed to a campaign, andresulted in a conversion. FIG. 8 illustrates an example report setupprocess for a given campaign in which successive filtering and flow-downof audiences occurs, resulting in actionable result measurements.

In an embodiment, the campaign definition and audience definitionprocesses described above for FIG. 7B may result initially in creating ameasured goal value 802 for a campaign, a first dataset of qualifiedpatients 804 and a second dataset of qualified HCPs 810. In anembodiment, the measured result may specify a particular drug in termsof one or more NDC values that identify the drug for national regulationor claims purposes. In the example of FIG. 8, measured goal 802specifies SYNJARDY, which is identified by NDC values of 0597-0295-60and 0597-0295-61. Further, in the example of FIG. 8, qualified patients804 may comprise patients who have been identified in a diagnosticencounter in which an HCP coded a claim using ICD10 value “E11”; in onetest execution, this code yielded a set of 1.2 million patients.Qualified HCPs 810 typically derives from a target list from privatelyprepared or proprietary sources and might comprise 10,000 HCPidentifiers or more.

The qualified patients dataset 804 may be filtered a first time to anumber of linked patients 806, meaning patients that are qualified andthat are further associated with a particular token, linked to data fromthe database server 620. The linked patients 806 may be filtered againto identify exposed patients 808, meaning patients who are known to havebeen exposed to an ad as indicated by exposure data from the DSP. Inthis example, about 500,000 identifiers are in the exposed patientsdataset 808.

The qualified HCPs dataset 810 may be filtered to yield exposed HCPs812, numbering about 6,000.

Additionally, or alternatively, data from the first set of campaigns maybe obtained. As an example, this data may include a number of qualifiedHCPs (HCPs having targeted NPIs, as determined by their claims data,prescription data, demographic data, practice/specialty data, or otherrelevant data as discussed with respect to FIG. 1) and a number ofexposed HCPs (HCPs exposed to an ad).

As shown next, via the data join operations that have been previouslydescribed, a qualified encounters dataset 814 may be formed to measurethe total number of interactions between the qualified patients 804 andqualified HCPs 810, resulting in creating and storing a QualifiedEncounters dataset 814. In the example of FIG. 8, dataset 814 will havesome number less than the 10,000 HCPs representing all HCPs and patientswho interacted in the same clinical visit.

The resulting dataset may be transformed again to capture a qualifiedand exposed count value 816, indicating a total number of times thateither a qualified patient or a qualified HCP was exposed to thecampaign associated with measurement goal 802 near the time when aninteraction occurred.

Finally, an Exposed and Converted count value 818 may be formed,indicating a total number of times that patients were prescribed ortreated with the product associated with the measured goal, or that theHCP or service provider wrote a prescription or performed a treatment.In the example of FIG. 8, value 818 comprises the set of qualified andexposed records that also are coded with one of the NDC codes forSYNJARDY or whatever other item is identified in the measured goal 802.

In particular embodiments, the measurement server computer may receive,from the database server, a result set of one or more integratedmeasurement records specifying one or more measured campaigns among theplurality of different campaigns, the one or more measured campaignsbeing associated with the prescription of the specified product in atleast one claims data record that is associated with at least one of theconsumer tokens and/or at least one of the HCP identifiers.

In particular embodiments, the measurement server computer may generateand cause presenting one or more analytics reports based on theintegrated measurement records. In particular embodiments, the resultset may be generated based on the analytics instructions executing, atthe database server/MDR environment 620, one or more database joinoperations on the claims data records, consumer tokens, impressionmetadata, and HCP identifiers. As an example, this generating andcausing presenting of the one or more analytics reports may includemeasuring a total number of interactions between consumer tokens and HCPidentifiers in qualified encounters. As another example, this generatingand causing presenting of the one or more analytics reports may includemeasuring a total number of interactions between consumer tokens and HCPidentifiers in qualified encounters when a particular consumer token ora particular HCP identifier was exposed to a particular campaign amongthe plurality of different campaigns. As yet another example, thegenerating and causing presenting of the one or more analytics reportsmay include measuring a total number of interactions between consumertokens and HCP identifiers when a particular consumer token or aparticular HCP identifier was exposed to a particular campaign among theplurality of different campaigns and a particular product in theparticular campaign is specified in a claims data record concerning theparticular consumer token.

As yet another example, the generating and causing presenting of the oneor more analytics reports may include generating a data value indicatingan elapsed time between a timestamp of a first digital impressionassociated with a particular campaign among the plurality of differentcampaigns and a first measured campaign of the particular campaign. Thisvalue may enable the organizer of the advertising campaign to determinethe effect and importance of different frequency levels of ads served toHCPs and patients prior to being treated with the targeted treatment.Presenting this elapsed time from the first impression to first measuredgoal may further enable the organizer to understand what sort offrequency is needed to influence results.

FIG. 9 illustrates an example GUI display for presenting an analyticsreport of a measured campaign.

In one embodiment, a GUI 900 comprises a status panel 902, a filterpanel 904, a summary panel 906, a graph panel 908 comprising a graph910, an analytics table 912, a funneled data panel 914, and a toolbar916. In an embodiment, status panel 902 is programmed to display one ormore metadata values relating to other aspects of the GUI 900, such asapproval status, audience type, start date, end date, date of creationor updating, and/or other metadata. Example values appear in statuspanel 902 of FIG. 9.

In an embodiment, filter panel 904 comprises GUI widgets that areprogrammed to receive selections of filter criteria for data representedin elements 908, 910, 912 and to apply specified filter criteria to thedata. In the example of FIG. 9, a campaign filter specifying TODAY hasbeen selected, and in response, the system is programmed to filter datafor the current date only and present the filtered data in otherelements of GUI 900. In an embodiment, the summary panel 906 comprisescount values specifying total impressions to consumers, totalimpressions to HCPs, spending values and cost values. In an embodiment,the run analytics element 636 of FIG. 6A, FIG. 6B is programmed toexecute calculations within the analytics code space 630 to generatefoundation data for the elements of FIG. 9.

In an embodiment, a graph panel 908 comprises one or more GUI widgetswhich, when selected, are programmed to cause generating or updating thegraph 910. In the example of FIG. 9, GUI widgets specify TRx and NRx asa metric, a Daily view, and grouping by HCPs+Patients Exposed. Graph 910reflects these parameters. In an embodiment, selecting different GUIwidget options causes recalculating and updating graph 910.

In an embodiment, analytics table 912 comprises a plurality ofselectable tabs, which are labeled “Exposures,” “Campaign Groups,” andwith other labels in the present example. Labels are programmed asexecutable links which when selected cause displaying different data inthe table 912. In the example of FIG. 9, the Exposures label is selectedand table 912 comprises rows specifying exposure groups and analyticsdata relating to those groups. The funneled data panel 914 may beprogrammed to display successively narrower or smaller counts ofindividuals, accounts, or records based on different analytical criteriaor calculations such as exposure counts, visitation counts, andconversion counts. The toolbar 916 may be programmed to display aplurality of different selectable display tools which when selectedcause the system to execute functions such as changing the type of graph(line, bar, scatter plot, etc.), applying display zoom functions, orothers.

Based on programmed analytics calculations executed using the functionalelements described previously, data in GUI 900 may aggregate patient andprovider script-writing behavior data at various dimensions (creative,publisher, format, audience, etc.), thus enabling buyers runningadvertising campaigns to visualize the benefit and performance ofvarious ad serving dimensions and make further optimizations. The datareported in GUI 900 also may be used as a training dataset to train oneor more machine learning models to predict bids or other values forupdating one or more elements of DSP 660, such as bidder 774 (FIG. 7C),to automate campaign optimization. One example benefit of campaignoptimization is making campaigns more effective by reducing ad spend onpublishers and geographies that do not have large numbers of performingpatients.

Panels of GUI 900 may be programmed to display reporting dimensions andanalytics as scorecards. As an example, the variables discussed aboveand/or any of the following analytics may be shown:

HCPs Impressions: The number of impressions delivered to HCP campaignslinked to the measurement report.

HCPs Exposed (and % Reached): The number of HCPs reached with an ad(from NPI Level Reporting) and the % of HCPs reached from the originaltarget list (% Reached).

HCPs Ad Spend: The total cost of ads delivered to HCP campaigns linkedto the measurement report.

CPM—HCP: The unit cost of ads delivered to HCP campaigns linked to themeasurement report.

Patients Impressions: Total impressions delivered to patient campaignslinked to the measurement report.

Patients Exposed (and % Reached, and % Linked): Number of patientsexposed to an ad (linked to data from the database server).

Patients Ad Spend: Total cost of impressions delivered to patientcampaigns linked to the measurement report.

CPM—Patient: The unit cost of ads delivered to patients.

In these analytics, “Total Patients” may be defined as the number ofunique patients, as represented by the de-identified consumer tokens,that are “qualified” or “selected” as having a target ICD-10, CPT, orNDC code. In particular embodiments, this value may be calculated viaBoolean logic as provided during campaign setup as “TARGET_ATTRIBUTES”.This value may further be used to calculate the “% population” metric.Similarly, “Linked Patients” may be defined as the number of patientsthat are qualified and that are further associated with a particulartoken, linked to data from the database server. This value may befurther used to calculate a “% Linked” metric. In particularembodiments, if the ad serving company only wishes to measure a patientcampaign, HCPs for qualified HCPs may be used in further calculations,but the “HCP Exposed” would be set to 0.

Panels may be programmed to display reporting measures for eachanalytics report including any of:

Total Spend: Sum of ad spend from the DSP for impressions purchased.

Impressions: Sum of impressions from the DSP.

Visitations: Cases when qualified patients and qualified HCPs wereobserved as interacting within the claims data (for example, type 2diabetes patient and targeted HCP generated a claim).

Total Prescribed (TRx): Total prescriptions written by HCPs for aparticular drug over a specific period of time. This value may includeprescriptions for refills and renewals (scripts patients get when theyrun out of refills). In contrast, the NRx value below may not includerefills but may include renewals.

Newly Prescribed (NRx): Count of new prescriptions issues. NRx may notinclude refills but may include renewals. NRx may differ from the NBRxvalue below in that the NRx metric may not consider whether or not thepatient has previously used the product.

New-to-Brand Prescribed (NBRx): Count of patients starting aprescription drug who have not previously used the product.

Cost Per TRx: Sum of the advertising spend (from the DSP) spent for theimpressions divided by TRx.

Cost Per NRx: Sum of the advertising spend (from the DSP) spent for theimpressions divided by NRx.

Cost Per NBRx: Sum of the advertising spend (from the DSP) spent for theimpressions divided by NBRx.

Total Visitations: The number of times when a patient (from TotalPatients) and a targeted HCP appeared together in a claims data recordfrom the database server 620 (indicating that there was a visit or somesort of opportunity to be prescribed with a drug). In some embodiments,“Total Visitations” may be programmed as the number of times when aclinically relevant consumer and a targeted service provider appearedtogether in a claims data record, and/or the number of times when atargeted clinically relevant consumer and a clinically relevant serviceprovider appeared together in a claims data record.

Exposed Visitations: The number of times when visitation happened andeither the HCP or the patient was exposed to an ad before the timestampof the visitation.

Total Conversions: The total number of conversion events (from MeasuredResults) linked to users targeted with an ad, as well as the total costof these conversions (sum of ad spend for all users divided by the TRxvolume).

New Conversions: The total number of new conversion events (fromMeasured Results) linked to users targeted with an ad, as well as thetotal cost of these conversions (sum of ad spend for all users dividedby the NRx volume).

New-to-Brand Conversions: The total number of new to brand conversionevents (from Measured Results) linked to users targeted with an ad, aswell as the total cost of these conversions (sum of ad spending for allusers divided by the NRx volume).

Reporting tables may display any of the following analytics:

Exposures: A report that illustrates the relative effectiveness of theads by HCP and Patient exposure groups. This report may include any ofthe following analytics:

HCP+Patient Exposed: Visitations when both a qualified/targeted HCP wasexposed with an ad and a qualified patient was exposed with an ad.

Patient Only Exposed: Visitations when only a qualified patient wasexposed

HCP Only Exposed: Visitations when only a qualified HCP was exposed.

No Exposure: Visitations when no qualified HCP and no qualified patientwas exposed.

Campaign: A report that illustrates the performance of differentcampaigns and the users exposed to ads from these campaigns.

Format: A report that illustrates the relative performance of differentinventory formats sourced from inventoryType (Banner, Video, CTV, Audio,Native, etc.).

Device: A report that illustrates the relative performance of differentdevice impressions sourced from bidRequest.device.type.

Inventory: A report that illustrates the relative performance ofdifferent types of publisher inventory (endemic vs non-Endemic),individual publishers, etc.

Audience: A report that illustrates the relative performance of userswithin different audiences (such as one report for patients, and anotherfor HCPs). In particular embodiments, this report may be sourced fromdataCharges in impressions.

Frequency: A report that gives guidance as to the importance ofdifferent frequency levels of ads served to HCPs and patients prior tobeing treated with the targeted treatment. Here, the elapsed time fromthe first impression to first measured result may be shown to helpbuyers to understand what sort of frequency is needed to influenceresults in various audiences (such as patient audiences vs HCPaudiences).

Creative: A report that gives guidance as to the relative performance ofdifferent creatives to drive results.

Physician: A report that illustrates individual physician-levelresults/behaviors. This may be similar to NPI reporting but may morespecifically show results at an individual physician level.

Specialty: A report that illustrates the performance of differentspecialties when an HCP campaign is active.

Patient: A report that illustrates the performance of different modelthresholds as well as different demographic segments.

Geography: A report that illustrates the performance of each state aswell as each DMA.

These measured values may be used to determine various results of theadvertising campaign. In particular embodiments, the measurement servercomputer may determine, based on the integrated measurement records, achange in prescription writing behavior that is associated with theconsumer tokens and the HCP identifiers, and may further present thechange in the analytics reports. Subsequently, through the optimizationprocesses that have been described, the measurement server computer mayautomatically adjust one or more parameters of the DSP, for a particularcampaign among the plurality of different campaigns, based on thechange. As an example, if it is determined that purchasing impressionson a first website leads to a greater change in the prescription writingbehavior than impressions on a second site, the DSP may automaticallyshift funding in the advertising campaign away from the first website inorder to purchase more impressions on the second website. In particularembodiments, the measurement server computer may determine, based on theintegrated measurement records, costs of each of the one or moremeasured campaigns, and in response, automatically signaling the DSP tochange one or more configuration parameters to cause increasing spendingon at least one of the measured campaigns having a lowest cost perprescription of the particular product. As an example, if it isdetermined that an impression on a first website generates conversions,and thus revenue, that is less than the cost of purchasing impressionson that first website (such that the advertising campaign is actuallylosing money by purchasing impressions on that first website), the DSPmay automatically shift spending to focus more heavily on a secondwebsite where showing impressions results in more revenue than was spenton purchasing the impressions on that second website. In someembodiments, execution of optimization can comprise updating parametersto cause spending more on a specific campaign, a specific device, aspecific time of day, on a specific publisher, or other attributes.

4. Implementation Examples

4.1 Computer System Overview

According to various embodiments, the techniques described herein areimplemented by at least one computing device. The techniques may beimplemented in whole or in part using a combination of at least oneserver computer and/or other computing devices that are coupled using anetwork, such as a packet data network. The computing devices may behard-wired to perform the techniques, or may include digital electronicdevices such as at least one application-specific integrated circuit(ASIC) or field programmable gate array (FPGA) that is persistentlyprogrammed to perform the techniques, or may include at least onegeneral purpose hardware processor programmed to perform the techniquespursuant to program instructions in firmware, memory, other storage, ora combination. Such computing devices may also combine custom hard-wiredlogic, ASICs, or FPGAs with custom programming to accomplish thedescribed techniques. The computing devices may be server computers,workstations, personal computers, portable computer systems, handhelddevices, mobile computing devices, wearable devices, body mounted orimplantable devices, smartphones, smart appliances, internetworkingdevices, autonomous or semi-autonomous devices such as robots orunmanned ground or aerial vehicles, any other electronic device thatincorporates hardwired and/or program logic to implement the describedtechniques, one or more virtual computing machines or instances in adata center, and/or a network of server computers and/or personalcomputers.

FIG. 5 is a block diagram that illustrates an example computer systemwith which an embodiment may be implemented. In the example of FIG. 5, acomputer system 500 and instructions for implementing the disclosedtechnologies in hardware, software, or a combination of hardware andsoftware, are represented schematically, for example as boxes andcircles, at the same level of detail that is commonly used by persons ofordinary skill in the art to which this disclosure pertains forcommunicating about computer architecture and computer systemsimplementations.

Computer system 500 includes an input/output (I/O) subsystem 502 whichmay include a bus and/or other communication mechanism(s) forcommunicating information and/or instructions between the components ofthe computer system 500 over electronic signal paths. The I/O subsystem502 may include an I/O controller, a memory controller and at least oneI/O port. The electronic signal paths are represented schematically inthe drawings, for example as lines, unidirectional arrows, orbidirectional arrows.

At least one hardware processor 504 is coupled to I/O subsystem 502 forprocessing information and instructions. Hardware processor 504 mayinclude, for example, a general-purpose microprocessor ormicrocontroller and/or a special-purpose microprocessor such as anembedded system or a graphics processing unit (GPU) or a digital signalprocessor or ARM processor. Processor 504 may comprise an integratedarithmetic logic unit (ALU) or may be coupled to a separate ALU.

Computer system 500 includes one or more units of memory 506, such as amain memory, which is coupled to I/O subsystem 502 for electronicallydigitally storing data and instructions to be executed by processor 504.Memory 506 may include volatile memory such as various forms ofrandom-access memory (RAM) or other dynamic storage device. Memory 506also may be used for storing temporary variables or other intermediateinformation during execution of instructions to be executed by processor504. Such instructions, when stored in non-transitory computer-readablestorage media accessible to processor 504, may render computer system500 into a special-purpose machine that is customized to perform theoperations specified in the instructions.

Computer system 500 further includes non-volatile memory such as readonly memory (ROM) 508 or other static storage device coupled to I/Osubsystem 502 for storing information and instructions for processor504. The ROM 508 may include various forms of programmable ROM (PROM)such as erasable PROM (EPROM) or electrically erasable PROM (EEPROM). Aunit of persistent storage 510 may include various forms of non-volatileRAM (NVRAM), such as FLASH memory, or solid-state storage, magnetic diskor optical disk such as CD-ROM or DVD-ROM and may be coupled to I/Osubsystem 502 for storing information and instructions. Storage 510 isan example of a non-transitory computer-readable medium that may be usedto store instructions and data which when executed by the processor 504cause performing computer-implemented methods to execute the techniquesherein.

The instructions in memory 506, ROM 508 or storage 510 may comprise oneor more sets of instructions that are organized as modules, methods,objects, functions, routines, or calls. The instructions may beorganized as one or more computer programs, operating system services,or application programs including mobile apps. The instructions maycomprise an operating system and/or system software; one or morelibraries to support multimedia, programming or other functions; dataprotocol instructions or stacks to implement TCP/IP, HTTP or othercommunication protocols; file processing instructions to interpret andrender files coded using HTML, XML, JPEG, MPEG or PNG; user interfaceinstructions to render or interpret commands for a graphical userinterface (GUI), command-line interface or text user interface;application software such as an office suite, internet accessapplications, design and manufacturing applications, graphicsapplications, audio applications, software engineering applications,educational applications, games or miscellaneous applications. Theinstructions may implement a web server, web application server or webclient. The instructions may be organized as a presentation layer,application layer and data storage layer such as a relational databasesystem using structured query language (SQL) or no SQL, an object store,a graph database, a flat file system or other data storage.

Computer system 500 may be coupled via I/O subsystem 502 to at least oneoutput device 512. In one embodiment, output device 512 is a digitalcomputer display. Examples of a display that may be used in variousembodiments include a touch screen display or a light-emitting diode(LED) display or a liquid crystal display (LCD) or an e-paper display.Computer system 500 may include other type(s) of output devices 512,alternatively or in addition to a display device. Examples of otheroutput devices 512 include printers, ticket printers, plotters,projectors, sound cards or video cards, speakers, buzzers orpiezoelectric devices or other audible devices, lamps or LED or LCDindicators, haptic devices, actuators or servos.

At least one input device 514 is coupled to I/O subsystem 502 forcommunicating signals, data, command selections or gestures to processor504. Examples of input devices 514 include touch screens, microphones,still and video digital cameras, alphanumeric and other keys, keypads,keyboards, graphics tablets, image scanners, joysticks, clocks,switches, buttons, dials, slides, and/or various types of sensors suchas force sensors, motion sensors, heat sensors, accelerometers,gyroscopes, and inertial measurement unit (IMU) sensors and/or varioustypes of transceivers such as wireless, such as cellular or Wi-Fi, radiofrequency (RF) or infrared (IR) transceivers and Global PositioningSystem (GPS) transceivers.

Another type of input device is a control device 516, which may performcursor control or other automated control functions such as navigationin a graphical interface on a display screen, alternatively or inaddition to input functions. Control device 516 may be a touchpad, amouse, a trackball, or cursor direction keys for communicating directioninformation and command selections to processor 504 and for controllingcursor movement on display 512. The input device may have at least twodegrees of freedom in two axes, a first axis (e.g., x) and a second axis(e.g., y), that allows the device to specify positions in a plane.Another type of input device is a wired, wireless, or optical controldevice such as a joystick, wand, console, steering wheel, pedal,gearshift mechanism or other type of control device. An input device 514may include a combination of multiple different input devices, such as avideo camera and a depth sensor.

In another embodiment, computer system 500 may comprise an internet ofthings (IoT) device in which one or more of the output device 512, inputdevice 514, and control device 516 are omitted. Or, in such anembodiment, the input device 514 may comprise one or more cameras,motion detectors, thermometers, microphones, seismic detectors, othersensors or detectors, measurement devices or encoders and the outputdevice 512 may comprise a special-purpose display such as a single-lineLED or LCD display, one or more indicators, a display panel, a meter, avalve, a solenoid, an actuator or a servo.

When computer system 500 is a mobile computing device, input device 514may comprise a global positioning system (GPS) receiver coupled to a GPSmodule that is capable of triangulating to a plurality of GPSsatellites, determining and generating geo-location or position datasuch as latitude-longitude values for a geophysical location of thecomputer system 500. Output device 512 may include hardware, software,firmware and interfaces for generating position reporting packets,notifications, pulse or heartbeat signals, or other recurring datatransmissions that specify a position of the computer system 500, aloneor in combination with other application-specific data, directed towardhost 524 or server 530.

Computer system 500 may implement the techniques described herein usingcustomized hard-wired logic, at least one ASIC or FPGA, firmware and/orprogram instructions or logic which when loaded and used or executed incombination with the computer system causes or programs the computersystem to operate as a special-purpose machine. According to oneembodiment, the techniques herein are performed by computer system 500in response to processor 504 executing at least one sequence of at leastone instruction contained in main memory 506. Such instructions may beread into main memory 506 from another storage medium, such as storage510. Execution of the sequences of instructions contained in main memory506 causes processor 504 to perform the process steps described herein.In alternative embodiments, hard-wired circuitry may be used in place ofor in combination with software instructions.

The term “storage media” as used herein refers to any non-transitorymedia that store data and/or instructions that cause a machine tooperation in a specific fashion. Such storage media may comprisenon-volatile media and/or volatile media. Non-volatile media includes,for example, optical or magnetic disks, such as storage 510. Volatilemedia includes dynamic memory, such as memory 506. Common forms ofstorage media include, for example, a hard disk, solid state drive,flash drive, magnetic data storage medium, any optical or physical datastorage medium, memory chip, or the like.

Storage media is distinct from but may be used in conjunction withtransmission media. Transmission media participates in transferringinformation between storage media. For example, transmission mediaincludes coaxial cables, copper wire and fiber optics, including thewires that comprise a bus of I/O subsystem 502. Transmission media mayalso take the form of acoustic or light waves, such as those generatedduring radio-wave and infra-red data communications.

Various forms of media may be involved in carrying at least one sequenceof at least one instruction to processor 504 for execution. For example,the instructions may initially be carried on a magnetic disk orsolid-state drive of a remote computer. The remote computer may load theinstructions into its dynamic memory and send the instructions over acommunication link such as a fiber optic or coaxial cable or telephoneline using a modem. A modem or router local to computer system 500 mayreceive the data on the communication link and convert the data to beread by computer system 500. For instance, a receiver such as a radiofrequency antenna or an infrared detector may receive the data carriedin a wireless or optical signal and appropriate circuitry may providethe data to I/O subsystem 502 such as by placing the data on a bus. I/Osubsystem 502 carries the data to memory 506, from which processor 504retrieves and executes the instructions. The instructions received bymemory 506 may optionally be stored on storage 510 either before orafter execution by processor 504.

Computer system 500 also includes a communication interface 518 coupledto bus 502. Communication interface 518 provides a two-way datacommunication coupling to network link(s) 520 that are directly orindirectly connected to at least one communication networks, such as anetwork 522 or a public or private cloud on the Internet. For example,communication interface 518 may be an Ethernet networking interface,integrated-services digital network (ISDN) card, cable modem, satellitemodem, or a modem to provide a data communication connection to acorresponding type of communications line, for example an Ethernet cableor a metal cable of any kind or a fiber-optic line or a telephone line.Network 522 broadly represents a local area network (LAN), wide-areanetwork (WAN), campus network, internetwork or any combination thereof.Communication interface 518 may comprise a LAN card to provide a datacommunication connection to a compatible LAN, or a cellularradiotelephone interface that is wired to send or receive cellular dataaccording to cellular radiotelephone wireless networking standards, or asatellite radio interface that is wired to send or receive digital dataaccording to satellite wireless networking standards. In any suchimplementation, communication interface 518 sends and receiveselectrical, electromagnetic or optical signals over signal paths thatcarry digital data streams representing various types of information.

Network link 520 typically provides electrical, electromagnetic, oroptical data communication directly or through at least one network toother data devices, using, for example, satellite, cellular, Wi-Fi, orBLUETOOTH technology. For example, network link 520 may provide aconnection through a network 522 to a host computer 524.

Furthermore, network link 520 may provide a connection through network522 or to other computing devices via internetworking devices and/orcomputers that are operated by an Internet Service Provider (ISP) 526.ISP 526 provides data communication services through a world-wide packetdata communication network represented as internet 528. A servercomputer 530 may be coupled to internet 528. Server 530 broadlyrepresents any computer, data center, virtual machine or virtualcomputing instance with or without a hypervisor, or computer executing acontainerized program system such as DOCKER or KUBERNETES. Server 530may represent an electronic digital service that is implemented usingmore than one computer or instance and that is accessed and used bytransmitting web services requests, uniform resource locator (URL)strings with parameters in HTTP payloads, API calls, app services calls,or other service calls. Computer system 500 and server 530 may formelements of a distributed computing system that includes othercomputers, a processing cluster, server farm or other organization ofcomputers that cooperate to perform tasks or execute applications orservices. Server 530 may comprise one or more sets of instructions thatare organized as modules, methods, objects, functions, routines, orcalls. The instructions may be organized as one or more computerprograms, operating system services, or application programs includingmobile apps. The instructions may comprise an operating system and/orsystem software; one or more libraries to support multimedia,programming or other functions; data protocol instructions or stacks toimplement TCP/IP, HTTP or other communication protocols; file formatprocessing instructions to interpret or render files coded using HTML,XML, JPEG, MPEG or PNG; user interface instructions to render orinterpret commands for a graphical user interface (GUI), command-lineinterface or text user interface; application software such as an officesuite, internet access applications, design and manufacturingapplications, graphics applications, audio applications, softwareengineering applications, educational applications, games ormiscellaneous applications. Server 530 may comprise a web applicationserver that hosts a presentation layer, application layer and datastorage layer such as a relational database system using structuredquery language (SQL) or no SQL, an object store, a graph database, aflat file system or other data storage.

Computer system 500 may send messages and receive data and instructions,including program code, through the network(s), network link 520 andcommunication interface 518. In the Internet example, a server 530 mighttransmit a requested code for an application program through Internet528, ISP 526, local network 522 and communication interface 518. Thereceived code may be executed by processor 504 as it is received, and/orstored in storage 510, or other non-volatile storage for laterexecution.

The execution of instructions as described in this section may implementa process in the form of an instance of a computer program that is beingexecuted and consisting of program code and its current activity.Depending on the operating system (OS), a process may be made up ofmultiple threads of execution that execute instructions concurrently. Inthis context, a computer program is a passive collection ofinstructions, while a process may be the actual execution of thoseinstructions. Several processes may be associated with the same program;for example, opening up several instances of the same program oftenmeans more than one process is being executed. Multitasking may beimplemented to allow multiple processes to share processor 504. Whileeach processor 504 or core of the processor executes a single task at atime, computer system 500 may be programmed to implement multitasking toallow each processor to switch between tasks that are being executedwithout having to wait for each task to finish. In an embodiment,switches may be performed when tasks perform input/output operations,when a task indicates that it may be switched, or on hardwareinterrupts. Time-sharing may be implemented to allow fast response forinteractive user applications by rapidly performing context switches toprovide the appearance of concurrent execution of multiple processessimultaneously. In an embodiment, for security and reliability, anoperating system may prevent direct communication between independentprocesses, providing strictly mediated and controlled inter-processcommunication functionality.

4.2 Artificial Neural Networks

FIG. 10 illustrates an example artificial neural network (“ANN”) 1100.In particular embodiments, an ANN may refer to a computational modelcomprising one or more nodes. Example ANN 1100 may comprise an inputlayer 1110, hidden layers 1120, 1130, 1140, and an output layer 1150.Each layer of the ANN 1100 may comprise one or more nodes, such as anode 1105 or a node 1115. In particular embodiments, each node of an ANNmay be connected to another node of the ANN. As an example and not byway of limitation, each node of the input layer 1110 may be connected toone of more nodes of the hidden layer 1120. In particular embodiments,one or more nodes may be a bias node (e.g., a node in a layer that isnot connected to and does not receive input from any node in a previouslayer). In particular embodiments, each node in each layer may beconnected to one or more nodes of a previous or subsequent layer.Although FIG. 10 depicts a particular ANN with a particular number oflayers, a particular number of nodes, and particular connections betweennodes, this disclosure contemplates any suitable ANN with any suitablenumber of layers, any suitable number of nodes, and any suitableconnections between nodes. As an example and not by way of limitation,although FIG. 10 depicts a connection between each node of the inputlayer 1110 and each node of the hidden layer 1120, one or more nodes ofthe input layer 1110 may not be connected to one or more nodes of thehidden layer 1120.

In particular embodiments, an ANN may be a feedforward ANN (e.g., an ANNwith no cycles or loops where communication between nodes flows in onedirection beginning with the input layer and proceeding to successivelayers). As an example and not by way of limitation, the input to eachnode of the hidden layer 1120 may comprise the output of one or morenodes of the input layer 1110. As another example and not by way oflimitation, the input to each node of the output layer 1150 may comprisethe output of one or more nodes of the hidden layer 1140. In particularembodiments, an ANN may be a deep neural network (e.g., a neural networkcomprising at least two hidden layers). In particular embodiments, anANN may be a deep residual network. A deep residual network may be afeedforward ANN comprising hidden layers organized into residual blocks.The input into each residual block after the first residual block may bea function of the output of the previous residual block and the input ofthe previous residual block. As an example and not by way of limitation,the input into residual block N may be F(x)+x, where F(x) may be theoutput of residual block N−1, x may be the input into residual blockN−1. Although this disclosure describes a particular ANN, thisdisclosure contemplates any suitable ANN.

In particular embodiments, an activation function may correspond to eachnode of an ANN. An activation function of a node may define the outputof a node for a given input. In particular embodiments, an input to anode may comprise a set of inputs. As an example and not by way oflimitation, an activation function may be an identity function, a binarystep function, a logistic function, or any other suitable function. Asanother example and not by way of limitation, an activation function fora node k may be the sigmoid function

${{F_{k}\left( s_{k} \right)} = \frac{1}{1 + e^{- s_{k}}}},$

the hyperbolic tangent function

${{F_{k}\left( s_{k} \right)} = \frac{e^{s_{k}} - e^{- s_{k}}}{e^{s_{k}} + e^{- s_{k}}}},$

the rectifier F_(k)(S_(k))=max (0, s_(k)), or any other suitablefunction F_(k)(s_(k)), where s_(k) may be the effective input to node k.In particular embodiments, the input of an activation functioncorresponding to a node may be weighted. Each node may generate outputusing a corresponding activation function based on weighted inputs. Inparticular embodiments, each connection between nodes may be associatedwith a weight. As an example and not by way of limitation, a connection1125 between the node 1105 and the node 1115 may have a weightingcoefficient of 0.4, which may indicate that 0.4 multiplied by the outputof the node 1105 is used as an input to the node 1115. As anotherexample and not by way of limitation, the output y_(k) of node k may bey_(k)=F_(k)(s_(k)), where F_(k) may be the activation functioncorresponding to node k, s_(k)=Σ_(j)(w_(jk)x_(j)) may be the effectiveinput to node k, x_(j) may be the output of a node j connected to nodek, and w_(jk) may be the weighting coefficient between node j and nodek. In particular embodiments, the input to nodes of the input layer maybe based on a vector representing an object. Although this disclosuredescribes particular inputs to and outputs of nodes, this disclosurecontemplates any suitable inputs to and outputs of nodes. Moreover,although this disclosure may describe particular connections and weightsbetween nodes, this disclosure contemplates any suitable connections andweights between nodes.

In particular embodiments, an ANN may be trained using training data. Asan example and not by way of limitation, training data may compriseinputs to the ANN 1100 and an expected output. As another example andnot by way of limitation, training data may comprise vectors eachrepresenting a training object and an expected label for each trainingobject. In particular embodiments, training an ANN may comprisemodifying the weights associated with the connections between nodes ofthe ANN by optimizing an objective function. As an example and not byway of limitation, a training method may be used (e.g., the conjugategradient method, the gradient descent method, the stochastic gradientdescent) to backpropagate the sum-of-squares error measured as adistances between each vector representing a training object (e.g.,using a cost function that minimizes the sum-of-squares error). Inparticular embodiments, an ANN may be trained using a dropout technique.As an example and not by way of limitation, one or more nodes may betemporarily omitted (e.g., receive no input and generate no output)while training. For each training object, one or more nodes of the ANNmay have some probability of being omitted. The nodes that are omittedfor a particular training object may be different than the nodes omittedfor other training objects (e.g., the nodes may be temporarily omittedon an object-by-object basis). Although this disclosure describestraining an ANN in a particular manner, this disclosure contemplatestraining an ANN in any suitable manner.

5. Extensions and Alternatives

In the foregoing specification, embodiments of the disclosure have beendescribed with reference to numerous specific details that may vary fromimplementation to implementation. The specification and drawings are,accordingly, to be regarded in an illustrative rather than a restrictivesense. The sole and exclusive indicator of the scope of the disclosure,and what is intended by the applicants to be the scope of thedisclosure, is the literal and equivalent scope of the set of claimsthat issue from this application, in the specific form in which suchclaims issue, including any subsequent correction.

1. (canceled)
 2. A computer-implemented method comprising: automaticallyexecuting, in a first iteration: using a measurement server computer,obtaining impression data specifying a first set of campaigns that areassociated with a first set of one or more clinical attributes, thefirst set of campaigns being among a plurality of different campaignsthat have been executed by a demand side platform (DSP); using themeasurement server computer, obtaining a plurality of records withde-identified consumer tokens representing consumers who have receiveddigital impressions of the first set of campaigns that are associatedwith the first set of one or more clinical attributes; using analyticsinstructions executing in a database server, accessing a databasecomprising de-identified tokenized claims data records, each of the datarecords relating to at least one claim concerning a prescription of aspecified product and including at least one of the consumer tokens;using the analytics instructions, executing one or more database joinoperations on the claims data records and consumer tokens to causeoutputting a result set of one or more integrated measurement recordsspecifying one or more measured goal campaigns among the plurality ofdifferent campaigns, the one or more measured goal campaigns beingassociated with the prescription of the specified product in at leastone claims data record that is associated with at least one of theconsumer tokens; receiving, at the measurement server computer, theintegrated measurement records from the database server; using themeasurement server computer, generating and causing presenting one ormore analytics reports based on the integrated measurement records; andusing the measurement server computer, executing a post call to thedatabase server to register new campaign impression data to the databaseserver; and automatically executing the method in one or more seconditerations using the new campaign impression data.
 3. The method ofclaim 2, further comprising determining, based on the integratedmeasurement records, a change in prescription writing behavior that isassociated with one of the advertisements delivered on behalf of themeasured goal campaign, the measured goal campaign being associated withthe consumer tokens, and presenting the change in the analytics reports.4. The method of claim 2, further comprising training a machine learningmodel using a training dataset comprising features selected from theplurality of records and the de-identified tokenized claims data recordsto produce an optimization model, the machine learning model beingtrained to receive other integrated measurement records for othercampaigns and to output predicted bid values for use in automaticallyadjusting one or more parameters of the DSP, for a target campaign amongthe plurality of different campaigns.
 5. The method of claim 4, theoptimization model comprising one of a random forest model, a neuralnetwork, a logistic regression, or a gradient boosted decision tree. 6.The method of claim 4, the training dataset further comprising otherfeatures selected from an attributes dataset comprising personal anddemographics data associated with the consumers.
 7. The method of claim4, further comprising: using the optimization model, determining, basedon the integrated measurement records, costs of each of the one or moremeasured campaigns, and in response, automatically signaling the DSP tochange one or more configuration parameters to cause increasing spendingon at least one of the measured campaigns having a lowest cost perprescription of the particular product.
 8. The method of claim 4,further comprising: using the optimization model, receiving bid requestdata and an attributes dataset comprising personal and demographicsdata, and outputting predictions of bid values; updating a bidder of theDSP using the predictions of bid values output from the optimizationmodel; serving one or more advertisements from the DSP based on thebidder having been updated.
 9. The method of claim 2, wherein thegenerating and causing presenting of the one or more analytics reportscomprises generating a data value indicating an elapsed time between atimestamp of a first digital impression associated with a particularcampaign among the plurality of different campaigns and a first measuredcampaign of the particular campaign.
 10. The method of claim 2, eachde-identified consumer token being linked to a particular healthcareattribute and being further linked to a first de-identified tokenizedclaims data record from among the set of de-identified tokenized claimsdata records.
 11. The method of claim 2, each campaign in the first setof campaigns being defined in the DSP using at least one clinicalattribute, each clinical attribute comprising any of an ICD-10 code, CPTcode, or NDC code.
 12. One or more non-transitory storage media storinginstructions which, when executed by one or more measurement computingserver devices, cause performance of a method, the method comprising:automatically executing, in a first iteration: using a measurementserver computer, obtaining impression data specifying a first set ofcampaigns that are associated with a first set of one or more clinicalattributes, the first set of campaigns being among a plurality ofdifferent campaigns that have been executed by a demand side platform(DSP); using the measurement server computer, obtaining a plurality ofrecords with de-identified consumer tokens representing consumers whohave received digital impressions of the first set of campaigns that areassociated with the first set of one or more clinical attributes; usinganalytics instructions executing in a database server, accessing adatabase comprising de-identified tokenized claims data records, each ofthe data records relating to at least one claim concerning aprescription of a specified product and including at least one of theconsumer tokens; using the analytics instructions, executing one or moredatabase join operations on the claims data records and consumer tokensto cause outputting a result set of one or more integrated measurementrecords specifying one or more measured goal campaigns among theplurality of different campaigns, the one or more measured goalcampaigns being associated with the prescription of the specifiedproduct in at least one claims data record that is associated with atleast one of the consumer tokens; receiving, at the measurement servercomputer, the integrated measurement records from the database server;using the measurement server computer, generating and causing presentingone or more analytics reports based on the integrated measurementrecords; and using the measurement server computer, executing a postcall to the database server to register new campaign impression data tothe database server; and automatically executing the method in one ormore second iterations using the new campaign impression data.
 13. Thestorage media of claim 12, further comprising instructions which whenexecuted cause the one or more measurement server computing devices toperform determining, based on the integrated measurement records, achange in prescription writing behavior that is associated with one ofthe advertisements delivered on behalf of the measured goal campaign,the measured goal campaign being associated with the consumer tokens,and presenting the change in the analytics reports.
 14. The storagemedia of claim 12, further comprising instructions which when executedcause the one or more measurement server computing devices to performtraining a machine learning model using a training dataset comprisingfeatures selected from the plurality of records and the de-identifiedtokenized claims data records to produce an optimization model, themachine learning model being trained to receive other integratedmeasurement records for other campaigns and to output predicted bidvalues for use in automatically adjusting one or more parameters of theDSP, for a target campaign among the plurality of different campaigns.15. The storage media of claim 14, the optimization model comprising oneof a random forest model, a neural network, a logistic regression, or agradient boosted decision tree.
 16. The storage media of claim 14, thetraining dataset further comprising other features selected from anattributes dataset comprising personal and demographics data associatedwith the consumers.
 17. The storage media of claim 14, furthercomprising instructions which when executed cause the one or moremeasurement server computing devices to perform: using the optimizationmodel, determining, based on the integrated measurement records, costsof each of the one or more measured campaigns, and in response,automatically signaling the DSP to change one or more configurationparameters to cause increasing spending on at least one of the measuredcampaigns having a lowest cost per prescription of the particularproduct.
 18. The storage media of claim 14, further comprisinginstructions which when executed cause the one or more measurementserver computing devices to perform: using the optimization model,receiving bid request data and an attributes dataset comprising personaland demographics data, and outputting predictions of bid values;updating a bidder of the DSP using the predictions of bid values outputfrom the optimization model; serving one or more advertisements from theDSP based on the bidder having been updated.
 19. The storage media ofclaim 12, wherein the instructions for the generating and causingpresenting of the one or more analytics reports further compriseinstructions which when executed cause the one or more measurementserver computing devices to perform generating a data value indicatingan elapsed time between a timestamp of a first digital impressionassociated with a particular campaign among the plurality of differentcampaigns and a first measured campaign of the particular campaign. 20.The storage media of claim 12, each de-identified consumer token beinglinked to a particular healthcare attribute and being further linked toa first de-identified tokenized claims data record from among the set ofde-identified tokenized claims data records.
 21. The storage media ofclaim 12, each campaign in the first set of campaigns being defined inthe DSP using at least one clinical attribute, each clinical attributecomprising any of an ICD-10 code, CPT code, or NDC code.